public DefaultWorkspaceCreationProperties withCustomSecurityGroupId(String customSecurityGroupId) {
        setCustomSecurityGroupId(customSecurityGroupId);
        return this;
    }
<p>
The identifier of the default security group to apply to WorkSpaces when they are created. For more information,
see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/amazon-workspaces-security-groups.html">
Security Groups for Your WorkSpaces</a>.
</p>

@param customSecurityGroupId
       The identifier of the default security group to apply to WorkSpaces when they are created. For more
       information, see <a
       href="https://docs.aws.amazon.com/workspaces/latest/adminguide/amazon-workspaces-security-groups.html">
       Security Groups for Your WorkSpaces</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/DefaultWorkspaceCreationProperties.java