public CreateSecurityProfileRequest withTagRestrictedResources(String... tagRestrictedResources) {
        if (this.tagRestrictedResources == null) {
            setTagRestrictedResources(new java.util.ArrayList<String>(tagRestrictedResources.length));
        }
        for (String ele : tagRestrictedResources) {
            this.tagRestrictedResources.add(ele);
        }
        return this;
    }
<p>
The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are
acceptable ResourceNames: <code>User</code> | <code>SecurityProfile</code> | <code>Queue</code> |
<code>RoutingProfile</code>
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTagRestrictedResources(java.util.Collection)} or
{@link #withTagRestrictedResources(java.util.Collection)} if you want to override the existing values.
</p>

@param tagRestrictedResources
       The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are
       acceptable ResourceNames: <code>User</code> | <code>SecurityProfile</code> | <code>Queue</code> |
       <code>RoutingProfile</code>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateSecurityProfileRequest.java