public ListSecurityProfilesForTargetResult withSecurityProfileTargetMappings(SecurityProfileTargetMapping... securityProfileTargetMappings) {
        if (this.securityProfileTargetMappings == null) {
            setSecurityProfileTargetMappings(new java.util.ArrayList<SecurityProfileTargetMapping>(securityProfileTargetMappings.length));
        }
        for (SecurityProfileTargetMapping ele : securityProfileTargetMappings) {
            this.securityProfileTargetMappings.add(ele);
        }
        return this;
    }
<p>
A list of security profiles and their associated targets.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSecurityProfileTargetMappings(java.util.Collection)} or
{@link #withSecurityProfileTargetMappings(java.util.Collection)} if you want to override the existing values.
</p>

@param securityProfileTargetMappings
       A list of security profiles and their associated targets.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/ListSecurityProfilesForTargetResult.java