@Generated(value="software.amazon.awssdk:codegen") public final class SubscribeResponse extends SnsResponse implements ToCopyableBuilder<SubscribeResponse.Builder,SubscribeResponse>
Response for Subscribe action.
Modifier and Type | Class and Description |
---|---|
static interface |
SubscribeResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static SubscribeResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SubscribeResponse.Builder> |
serializableBuilderClass() |
String |
subscriptionArn()
The ARN of the subscription if it is confirmed, or the string "pending confirmation" if the subscription requires
confirmation.
|
SubscribeResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String subscriptionArn()
The ARN of the subscription if it is confirmed, or the string "pending confirmation" if the subscription requires
confirmation. However, if the API request parameter ReturnSubscriptionArn
is true, then the value is
always the subscription ARN, even if the subscription requires confirmation.
ReturnSubscriptionArn
is true,
then the value is always the subscription ARN, even if the subscription requires confirmation.public SubscribeResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<SubscribeResponse.Builder,SubscribeResponse>
toBuilder
in class AwsResponse
public static SubscribeResponse.Builder builder()
public static Class<? extends SubscribeResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2022. All rights reserved.