public java.util.List<Tag> getTags() {
        if (tags == null) {
            tags = new com.amazonaws.internal.SdkInternalList<Tag>();
        }
        return tags;
    }
<p>
The tag key-value pairs to add to the on-premises instances.
</p>
<p>
Keys and values are both required. Keys cannot be null or empty strings. Value-only tags are not allowed.
</p>

@return The tag key-value pairs to add to the on-premises instances.</p>
        <p>
        Keys and values are both required. Keys cannot be null or empty strings. Value-only tags are not allowed.
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/AddTagsToOnPremisesInstancesRequest.java