Class SubscribeResponse
java.lang.Object
software.amazon.awssdk.core.SdkResponse
software.amazon.awssdk.awscore.AwsResponse
software.amazon.awssdk.services.sns.model.SnsResponse
software.amazon.awssdk.services.sns.model.SubscribeResponse
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<SubscribeResponse.Builder,SubscribeResponse>
@Generated("software.amazon.awssdk:codegen")
public final class SubscribeResponse
extends SnsResponse
implements ToCopyableBuilder<SubscribeResponse.Builder,SubscribeResponse>
Response for Subscribe action.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SubscribeResponse.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends SubscribeResponse.Builder>final StringThe ARN of the subscription if it is confirmed, or the string "pending confirmation" if the subscription requires confirmation.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.services.sns.model.SnsResponse
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
ReturnSubscriptionArnis true, then the value is always the subscription ARN, even if the subscription requires confirmation.- Returns:
- 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
ReturnSubscriptionArnis true, then the value is always the subscription ARN, even if the subscription requires confirmation.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<SubscribeResponse.Builder,SubscribeResponse> - Specified by:
toBuilderin classAwsResponse
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-