public OrganizationCustomRuleMetadata withResourceTypesScope(String... resourceTypesScope) {
        if (this.resourceTypesScope == null) {
            setResourceTypesScope(new com.amazonaws.internal.SdkInternalList<String>(resourceTypesScope.length));
        }
        for (String ele : resourceTypesScope) {
            this.resourceTypesScope.add(ele);
        }
        return this;
    }
<p>
The type of the Amazon Web Services resource that was evaluated.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setResourceTypesScope(java.util.Collection)} or {@link #withResourceTypesScope(java.util.Collection)} if
you want to override the existing values.
</p>

@param resourceTypesScope
       The type of the Amazon Web Services resource that was evaluated.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/OrganizationCustomRuleMetadata.java