Interface CreateTopicRequest.Builder

  • Method Details

    • awsAccountId

      CreateTopicRequest.Builder awsAccountId(String awsAccountId)

      The ID of the Amazon Web Services account that you want to create a topic in.

      Parameters:
      awsAccountId - The ID of the Amazon Web Services account that you want to create a topic in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • topicId

      The ID for the topic that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

      Parameters:
      topicId - The ID for the topic that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • topic

      The definition of a topic to create.

      Parameters:
      topic - The definition of a topic to create.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • topic

      The definition of a topic to create.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to topic(TopicDetails).

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

      Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.

      Parameters:
      tags - Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.

      Parameters:
      tags - Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.

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

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

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

      CreateTopicRequest.Builder folderArns(Collection<String> folderArns)

      The Folder ARN of the folder that you want the topic to reside in.

      Parameters:
      folderArns - The Folder ARN of the folder that you want the topic to reside in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • folderArns

      CreateTopicRequest.Builder folderArns(String... folderArns)

      The Folder ARN of the folder that you want the topic to reside in.

      Parameters:
      folderArns - The Folder ARN of the folder that you want the topic to reside in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateTopicRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.