public ListSecurityPoliciesResult withSecurityPolicyNames(String... securityPolicyNames) {
        if (this.securityPolicyNames == null) {
            setSecurityPolicyNames(new java.util.ArrayList<String>(securityPolicyNames.length));
        }
        for (String ele : securityPolicyNames) {
            this.securityPolicyNames.add(ele);
        }
        return this;
    }
<p>
An array of security policies that were listed.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSecurityPolicyNames(java.util.Collection)} or {@link #withSecurityPolicyNames(java.util.Collection)}
if you want to override the existing values.
</p>

@param securityPolicyNames
       An array of security policies that were listed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/ListSecurityPoliciesResult.java