Interface TagResourceRequest.Builder

    • Method Detail

      • resourceARN

        TagResourceRequest.Builder resourceARN​(String resourceARN)

        Identifies the Application Auto Scaling scalable target that you want to apply tags to.

        For example: arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123

        To get the ARN for a scalable target, use DescribeScalableTargets.

        Parameters:
        resourceARN - Identifies the Application Auto Scaling scalable target that you want to apply tags to.

        For example: arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123

        To get the ARN for a scalable target, use DescribeScalableTargets.

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

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

        The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource.

        Each tag consists of a tag key and a tag value.

        You cannot have more than one tag on an Application Auto Scaling scalable target with the same tag key. If you specify an existing tag key with a different tag value, Application Auto Scaling replaces the current tag value with the specified one.

        For information about the rules that apply to tag keys and tag values, see User-defined tag restrictions in the Amazon Web Services Billing User Guide.

        Parameters:
        tags - The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource.

        Each tag consists of a tag key and a tag value.

        You cannot have more than one tag on an Application Auto Scaling scalable target with the same tag key. If you specify an existing tag key with a different tag value, Application Auto Scaling replaces the current tag value with the specified one.

        For information about the rules that apply to tag keys and tag values, see User-defined tag restrictions in the Amazon Web Services Billing User Guide.

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