Interface CreateDestinationRequest.Builder

    • Method Detail

      • name

        CreateDestinationRequest.Builder name​(String name)

        The name of the new resource.

        Parameters:
        name - The name of the new resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • expression

        CreateDestinationRequest.Builder expression​(String expression)

        The rule name or topic rule to send messages to.

        Parameters:
        expression - The rule name or topic rule to send messages to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        CreateDestinationRequest.Builder description​(String description)

        The description of the new resource.

        Parameters:
        description - The description of the new resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        CreateDestinationRequest.Builder roleArn​(String roleArn)

        The ARN of the IAM Role that authorizes the destination.

        Parameters:
        roleArn - The ARN of the IAM Role that authorizes the destination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateDestinationRequest.Builder tags​(Collection<Tag> tags)

        The tags to attach to the new destination. Tags are metadata that you can use to manage a resource.

        Parameters:
        tags - The tags to attach to the new destination. Tags are metadata that you can use to manage a resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateDestinationRequest.Builder tags​(Tag... tags)

        The tags to attach to the new destination. Tags are metadata that you can use to manage a resource.

        Parameters:
        tags - The tags to attach to the new destination. Tags are metadata that you can use to manage a resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateDestinationRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        The tags to attach to the new destination. Tags are metadata that you can use to manage a resource.

        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).

        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:
        #tags(java.util.Collection)
      • clientRequestToken

        CreateDestinationRequest.Builder clientRequestToken​(String clientRequestToken)

        Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.

        Parameters:
        clientRequestToken - Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.