Interface TagResourceRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>, RamRequest.Builder, SdkBuilder<TagResourceRequest.Builder,TagResourceRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
TagResourceRequest

  • Method Details

    • resourceShareArn

      TagResourceRequest.Builder resourceShareArn(String resourceShareArn)

      Specifies the Amazon Resource Name (ARN) of the resource share that you want to add tags to. You must specify either resourceShareArn, or resourceArn, but not both.

      Parameters:
      resourceShareArn - Specifies the Amazon Resource Name (ARN) of the resource share that you want to add tags to. You must specify either resourceShareArn, or resourceArn, but not both.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of one or more tag key and value pairs. The tag key must be present and not be an empty string. The tag value must be present but can be an empty string.

      Parameters:
      tags - A list of one or more tag key and value pairs. The tag key must be present and not be an empty string. The tag value must be present but can be an empty string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of one or more tag key and value pairs. The tag key must be present and not be an empty string. The tag value must be present but can be an empty string.

      Parameters:
      tags - A list of one or more tag key and value pairs. The tag key must be present and not be an empty string. The tag value must be present but can be an empty string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of one or more tag key and value pairs. The tag key must be present and not be an empty string. The tag value must be present but can be an empty string.

      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:
    • resourceArn

      TagResourceRequest.Builder resourceArn(String resourceArn)

      Specifies the Amazon Resource Name (ARN) of the managed permission that you want to add tags to. You must specify either resourceArn, or resourceShareArn, but not both.

      Parameters:
      resourceArn - Specifies the Amazon Resource Name (ARN) of the managed permission that you want to add tags to. You must specify either resourceArn, or resourceShareArn, but not both.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      TagResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
    • overrideConfiguration

      Specified by:
      overrideConfiguration in interface AwsRequest.Builder