Interface TagResourceRequest.Builder

    • Method Detail

      • resourceArn

        TagResourceRequest.Builder resourceArn​(String resourceArn)

        An ARN that uniquely identifies a resource. The format of the ARN depends on the type of the tagged resource.

        ARNs that do not include backup are incompatible with tagging. TagResource and UntagResource with invalid ARNs will result in an error. Acceptable ARN content can include arn:aws:backup:us-east. Invalid ARN content may look like arn:aws:ec2:us-east.

        Parameters:
        resourceArn - An ARN that uniquely identifies a resource. The format of the ARN depends on the type of the tagged resource.

        ARNs that do not include backup are incompatible with tagging. TagResource and UntagResource with invalid ARNs will result in an error. Acceptable ARN content can include arn:aws:backup:us-east. Invalid ARN content may look like arn:aws:ec2:us-east.

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

        TagResourceRequest.Builder tags​(Map<String,​String> tags)

        Key-value pairs that are used to help organize your resources. You can assign your own metadata to the resources you create. For clarity, this is the structure to assign tags: [{"Key":"string","Value":"string"}].

        Parameters:
        tags - Key-value pairs that are used to help organize your resources. You can assign your own metadata to the resources you create. For clarity, this is the structure to assign tags: [{"Key":"string","Value":"string"}].
        Returns:
        Returns a reference to this object so that method calls can be chained together.