Interface TagResourceRequest.Builder

    • Method Detail

      • resourceArn

        TagResourceRequest.Builder resourceArn​(String resourceArn)

        The ARN of the ScanName object. You can retrieve this ARN by calling ListScans or GetScan.

        Parameters:
        resourceArn - The ARN of the ScanName object. You can retrieve this ARN by calling ListScans or GetScan.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

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

        • A tag key. For example, CostCenter, Environment, or Secret. Tag keys are case sensitive.

        • An optional tag value field. For example, 111122223333, Production, or a team name. Omitting the tag value is the same as using an empty string. Tag values are case sensitive.

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

        • A tag key. For example, CostCenter, Environment, or Secret. Tag keys are case sensitive.

        • An optional tag value field. For example, 111122223333, Production, or a team name. Omitting the tag value is the same as using an empty string. Tag values are case sensitive.

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