Interface AwsSnsTopicDetails.Builder

  • Method Details

    • kmsMasterKeyId

      AwsSnsTopicDetails.Builder kmsMasterKeyId(String kmsMasterKeyId)

      The ID of an Amazon Web Services managed key for Amazon SNS or a customer managed key.

      Parameters:
      kmsMasterKeyId - The ID of an Amazon Web Services managed key for Amazon SNS or a customer managed key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscription

      Subscription is an embedded property that describes the subscription endpoints of an Amazon SNS topic.

      Parameters:
      subscription - Subscription is an embedded property that describes the subscription endpoints of an Amazon SNS topic.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscription

      AwsSnsTopicDetails.Builder subscription(AwsSnsTopicSubscription... subscription)

      Subscription is an embedded property that describes the subscription endpoints of an Amazon SNS topic.

      Parameters:
      subscription - Subscription is an embedded property that describes the subscription endpoints of an Amazon SNS topic.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscription

      Subscription is an embedded property that describes the subscription endpoints of an Amazon SNS topic.

      This is a convenience method that creates an instance of the AwsSnsTopicSubscription.Builder avoiding the need to create one manually via AwsSnsTopicSubscription.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to subscription(List<AwsSnsTopicSubscription>).

      Parameters:
      subscription - a consumer that will call methods on AwsSnsTopicSubscription.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • topicName

      AwsSnsTopicDetails.Builder topicName(String topicName)

      The name of the Amazon SNS topic.

      Parameters:
      topicName - The name of the Amazon SNS topic.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • owner

      The subscription's owner.

      Parameters:
      owner - The subscription's owner.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sqsSuccessFeedbackRoleArn

      AwsSnsTopicDetails.Builder sqsSuccessFeedbackRoleArn(String sqsSuccessFeedbackRoleArn)

      Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an Amazon SQS endpoint.

      Parameters:
      sqsSuccessFeedbackRoleArn - Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an Amazon SQS endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sqsFailureFeedbackRoleArn

      AwsSnsTopicDetails.Builder sqsFailureFeedbackRoleArn(String sqsFailureFeedbackRoleArn)

      Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an Amazon SQS endpoint.

      Parameters:
      sqsFailureFeedbackRoleArn - Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an Amazon SQS endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applicationSuccessFeedbackRoleArn

      AwsSnsTopicDetails.Builder applicationSuccessFeedbackRoleArn(String applicationSuccessFeedbackRoleArn)

      Indicates failed message delivery status for an Amazon SNS topic that is subscribed to a platform application endpoint.

      Parameters:
      applicationSuccessFeedbackRoleArn - Indicates failed message delivery status for an Amazon SNS topic that is subscribed to a platform application endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • firehoseSuccessFeedbackRoleArn

      AwsSnsTopicDetails.Builder firehoseSuccessFeedbackRoleArn(String firehoseSuccessFeedbackRoleArn)

      Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an Amazon Kinesis Data Firehose endpoint.

      Parameters:
      firehoseSuccessFeedbackRoleArn - Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an Amazon Kinesis Data Firehose endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • firehoseFailureFeedbackRoleArn

      AwsSnsTopicDetails.Builder firehoseFailureFeedbackRoleArn(String firehoseFailureFeedbackRoleArn)

      Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an Amazon Kinesis Data Firehose endpoint.

      Parameters:
      firehoseFailureFeedbackRoleArn - Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an Amazon Kinesis Data Firehose endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • httpSuccessFeedbackRoleArn

      AwsSnsTopicDetails.Builder httpSuccessFeedbackRoleArn(String httpSuccessFeedbackRoleArn)

      Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an HTTP endpoint.

      Parameters:
      httpSuccessFeedbackRoleArn - Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an HTTP endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • httpFailureFeedbackRoleArn

      AwsSnsTopicDetails.Builder httpFailureFeedbackRoleArn(String httpFailureFeedbackRoleArn)

      Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an HTTP endpoint.

      Parameters:
      httpFailureFeedbackRoleArn - Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an HTTP endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.