Class Topic
java.lang.Object
software.amazon.awssdk.services.sns.model.Topic
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Topic.Builder,Topic>
@Generated("software.amazon.awssdk:codegen")
public final class Topic
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<Topic.Builder,Topic>
A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a topic's attributes, use
GetTopicAttributes.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Topic.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends Topic.Builder>final StringtopicArn()The topic's ARN.final StringtoString()Returns a string representation of this object.Methods 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
-
topicArn
The topic's ARN.
- Returns:
- The topic's ARN.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<Topic.Builder,Topic>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-