public ControlScope withComplianceResourceTypes(String... complianceResourceTypes) {
        if (this.complianceResourceTypes == null) {
            setComplianceResourceTypes(new java.util.ArrayList<String>(complianceResourceTypes.length));
        }
        for (String ele : complianceResourceTypes) {
            this.complianceResourceTypes.add(ele);
        }
        return this;
    }
<p>
Describes whether the control scope includes one or more types of resources, such as <code>EFS</code> or
<code>RDS</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setComplianceResourceTypes(java.util.Collection)} or
{@link #withComplianceResourceTypes(java.util.Collection)} if you want to override the existing values.
</p>

@param complianceResourceTypes
       Describes whether the control scope includes one or more types of resources, such as <code>EFS</code> or
       <code>RDS</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