public CreateSecurityProfileRequest withPermissions(java.util.Collection<String> permissions) {
        setPermissions(permissions);
        return this;
    }
<p>
Permissions assigned to the security profile. For a list of valid permissions, see <a
href="https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html">List of security profile
permissions</a>.
</p>

@param permissions
       Permissions assigned to the security profile. For a list of valid permissions, see <a
       href="https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html">List of security
       profile permissions</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateSecurityProfileRequest.java