@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 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 int hashCode()
hashCode
in class AwsResponse
public boolean equals(Object obj)
equals
in class AwsResponse
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2020. All rights reserved.