Interface TagResourceRequest.Builder

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

public static interface TagResourceRequest.Builder extends CodeGuruReviewerRequest.Builder, SdkPojo, CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>
  • Method Details

    • resourceArn

      TagResourceRequest.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:

      • A tag key (for example, CostCenter, Environment, Project, or Secret). Tag keys are case sensitive.

      • An optional field known as a tag value (for example, 111122223333, Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.

      Parameters:
      tags - An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:

      • A tag key (for example, CostCenter, Environment, Project , or Secret). Tag keys are case sensitive.

      • An optional field known as a tag value (for example, 111122223333, Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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