public CreateStudioSessionMappingRequest withIdentityType(String identityType) {
        setIdentityType(identityType);
        return this;
    }
<p>
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
</p>

@param identityType
       Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
@return Returns a reference to this object so that method calls can be chained together.
@see IdentityType
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/CreateStudioSessionMappingRequest.java