Class AwsSnsTopicDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsSnsTopicDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsSnsTopicDetails.Builder,AwsSnsTopicDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsSnsTopicDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsSnsTopicDetails.Builder,AwsSnsTopicDetails>
Provides information about an Amazon SNS topic to which notifications can be published.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsSnsTopicDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationSuccessFeedbackRoleArn()Indicates failed message delivery status for an Amazon SNS topic that is subscribed to a platform application endpoint.static AwsSnsTopicDetails.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfirehoseFailureFeedbackRoleArn()Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an Amazon Kinesis Data Firehose endpoint.StringfirehoseSuccessFeedbackRoleArn()Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an Amazon Kinesis Data Firehose endpoint.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasSubscription()For responses, this returns true if the service returned a value for the Subscription property.StringhttpFailureFeedbackRoleArn()Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an HTTP endpoint.StringhttpSuccessFeedbackRoleArn()Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an HTTP endpoint.StringkmsMasterKeyId()The ID of an Amazon Web Services managed key for Amazon SNS or a customer managed key.Stringowner()The subscription's owner.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsSnsTopicDetails.Builder>serializableBuilderClass()StringsqsFailureFeedbackRoleArn()Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an Amazon SQS endpoint.StringsqsSuccessFeedbackRoleArn()Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an Amazon SQS endpoint.List<AwsSnsTopicSubscription>subscription()Subscription is an embedded property that describes the subscription endpoints of an Amazon SNS topic.AwsSnsTopicDetails.BuildertoBuilder()StringtopicName()The name of the Amazon SNS topic.StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
kmsMasterKeyId
public final String kmsMasterKeyId()
The ID of an Amazon Web Services managed key for Amazon SNS or a customer managed key.
- Returns:
- The ID of an Amazon Web Services managed key for Amazon SNS or a customer managed key.
-
hasSubscription
public final boolean hasSubscription()
For responses, this returns true if the service returned a value for the Subscription property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
subscription
public final List<AwsSnsTopicSubscription> subscription()
Subscription is an embedded property that describes the subscription endpoints of an Amazon SNS topic.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSubscription()method.- Returns:
- Subscription is an embedded property that describes the subscription endpoints of an Amazon SNS topic.
-
topicName
public final String topicName()
The name of the Amazon SNS topic.
- Returns:
- The name of the Amazon SNS topic.
-
owner
public final String owner()
The subscription's owner.
- Returns:
- The subscription's owner.
-
sqsSuccessFeedbackRoleArn
public final String sqsSuccessFeedbackRoleArn()
Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an Amazon SQS endpoint.
- Returns:
- Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an Amazon SQS endpoint.
-
sqsFailureFeedbackRoleArn
public final String sqsFailureFeedbackRoleArn()
Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an Amazon SQS endpoint.
- Returns:
- Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an Amazon SQS endpoint.
-
applicationSuccessFeedbackRoleArn
public final String applicationSuccessFeedbackRoleArn()
Indicates failed message delivery status for an Amazon SNS topic that is subscribed to a platform application endpoint.
- Returns:
- Indicates failed message delivery status for an Amazon SNS topic that is subscribed to a platform application endpoint.
-
firehoseSuccessFeedbackRoleArn
public final String firehoseSuccessFeedbackRoleArn()
Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an Amazon Kinesis Data Firehose endpoint.
- Returns:
- Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an Amazon Kinesis Data Firehose endpoint.
-
firehoseFailureFeedbackRoleArn
public final String firehoseFailureFeedbackRoleArn()
Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an Amazon Kinesis Data Firehose endpoint.
- Returns:
- Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an Amazon Kinesis Data Firehose endpoint.
-
httpSuccessFeedbackRoleArn
public final String httpSuccessFeedbackRoleArn()
Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an HTTP endpoint.
- Returns:
- Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an HTTP endpoint.
-
httpFailureFeedbackRoleArn
public final String httpFailureFeedbackRoleArn()
Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an HTTP endpoint.
- Returns:
- Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an HTTP endpoint.
-
toBuilder
public AwsSnsTopicDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsSnsTopicDetails.Builder,AwsSnsTopicDetails>
-
builder
public static AwsSnsTopicDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsSnsTopicDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-