public void setDefaultSecurityGroupNames(java.util.Collection<String> defaultSecurityGroupNames) {
        if (defaultSecurityGroupNames == null) {
            this.defaultSecurityGroupNames = null;
            return;
        }

        this.defaultSecurityGroupNames = new com.amazonaws.internal.SdkInternalList<String>(defaultSecurityGroupNames);
    }
<p>
An array containing the layer's security group names.
</p>

@param defaultSecurityGroupNames
       An array containing the layer's security group names.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/Layer.java