public CreateStudioSessionMappingRequest withIdentityName(String identityName) {
        setIdentityName(identityName);
        return this;
    }
<p>
The name of the user or group. For more information, see <a href=
"https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName"
>UserName</a> and <a href=
"https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName"
>DisplayName</a> in the <i>IAM Identity Center Identity Store API Reference</i>. Either <code>IdentityName</code>
or <code>IdentityId</code> must be specified, but not both.
</p>

@param identityName
       The name of the user or group. For more information, see <a href=
       "https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName"
       >UserName</a> and <a href=
       "https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName"
       >DisplayName</a> in the <i>IAM Identity Center Identity Store API Reference</i>. Either
       <code>IdentityName</code> or <code>IdentityId</code> must be specified, but not both.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/CreateStudioSessionMappingRequest.java