public ControlScope withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
<p>
The tag key-value pair applied to those Amazon Web Services resources that you want to trigger an evaluation for
a rule. A maximum of one key-value pair can be provided. The tag value is optional, but it cannot be an empty
string. The structure to assign a tag is: <code>[{"Key":"string","Value":"string"}]</code>.
</p>

@param tags
       The tag key-value pair applied to those Amazon Web Services resources that you want to trigger an
       evaluation for a rule. A maximum of one key-value pair can be provided. The tag value is optional, but it
       cannot be an empty string. The structure to assign a tag is:
       <code>[{"Key":"string","Value":"string"}]</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-backup/src/main/java/com/amazonaws/services/backup/model/ControlScope.java