@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateStudioSessionMappingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateStudioSessionMappingRequest() |
Modifier and Type | Method and Description |
---|---|
CreateStudioSessionMappingRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getIdentityId()
The globally unique identifier (GUID) of the user or group from the IAM Identity Center Identity Store.
|
String |
getIdentityName()
The name of the user or group.
|
String |
getIdentityType()
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
|
String |
getSessionPolicyArn()
The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group.
|
String |
getStudioId()
The ID of the Amazon EMR Studio to which the user or group will be mapped.
|
int |
hashCode() |
void |
setIdentityId(String identityId)
The globally unique identifier (GUID) of the user or group from the IAM Identity Center Identity Store.
|
void |
setIdentityName(String identityName)
The name of the user or group.
|
void |
setIdentityType(String identityType)
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
|
void |
setSessionPolicyArn(String sessionPolicyArn)
The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group.
|
void |
setStudioId(String studioId)
The ID of the Amazon EMR Studio to which the user or group will be mapped.
|
String |
toString()
Returns a string representation of this object.
|
CreateStudioSessionMappingRequest |
withIdentityId(String identityId)
The globally unique identifier (GUID) of the user or group from the IAM Identity Center Identity Store.
|
CreateStudioSessionMappingRequest |
withIdentityName(String identityName)
The name of the user or group.
|
CreateStudioSessionMappingRequest |
withIdentityType(IdentityType identityType)
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
|
CreateStudioSessionMappingRequest |
withIdentityType(String identityType)
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
|
CreateStudioSessionMappingRequest |
withSessionPolicyArn(String sessionPolicyArn)
The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group.
|
CreateStudioSessionMappingRequest |
withStudioId(String studioId)
The ID of the Amazon EMR Studio to which the user or group will be mapped.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStudioId(String studioId)
The ID of the Amazon EMR Studio to which the user or group will be mapped.
studioId
- The ID of the Amazon EMR Studio to which the user or group will be mapped.public String getStudioId()
The ID of the Amazon EMR Studio to which the user or group will be mapped.
public CreateStudioSessionMappingRequest withStudioId(String studioId)
The ID of the Amazon EMR Studio to which the user or group will be mapped.
studioId
- The ID of the Amazon EMR Studio to which the user or group will be mapped.public void setIdentityId(String identityId)
public String getIdentityId()
public CreateStudioSessionMappingRequest withIdentityId(String identityId)
The globally unique identifier (GUID) of the user or group from the IAM Identity Center Identity Store. For more
information, see UserId and GroupId in the IAM Identity Center Identity Store API Reference. Either IdentityName
or
IdentityId
must be specified, but not both.
identityId
- The globally unique identifier (GUID) of the user or group from the IAM Identity Center Identity Store.
For more information, see UserId and GroupId in the IAM Identity Center Identity Store API Reference. Either
IdentityName
or IdentityId
must be specified, but not both.public void setIdentityName(String identityName)
The name of the user or group. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference. Either IdentityName
or IdentityId
must be specified, but not both.
identityName
- The name of the user or group. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference. Either
IdentityName
or IdentityId
must be specified, but not both.public String getIdentityName()
The name of the user or group. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference. Either IdentityName
or IdentityId
must be specified, but not both.
IdentityName
or IdentityId
must be specified, but not both.public CreateStudioSessionMappingRequest withIdentityName(String identityName)
The name of the user or group. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference. Either IdentityName
or IdentityId
must be specified, but not both.
identityName
- The name of the user or group. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference. Either
IdentityName
or IdentityId
must be specified, but not both.public void setIdentityType(String identityType)
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
identityType
- Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.IdentityType
public String getIdentityType()
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
IdentityType
public CreateStudioSessionMappingRequest withIdentityType(String identityType)
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
identityType
- Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.IdentityType
public CreateStudioSessionMappingRequest withIdentityType(IdentityType identityType)
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
identityType
- Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.IdentityType
public void setSessionPolicyArn(String sessionPolicyArn)
The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. You should specify the ARN for the session policy that you want to apply, not the ARN of your user role. For more information, see Create an Amazon EMR Studio User Role with Session Policies.
sessionPolicyArn
- The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. You
should specify the ARN for the session policy that you want to apply, not the ARN of your user role. For
more information, see Create an Amazon
EMR Studio User Role with Session Policies.public String getSessionPolicyArn()
The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. You should specify the ARN for the session policy that you want to apply, not the ARN of your user role. For more information, see Create an Amazon EMR Studio User Role with Session Policies.
public CreateStudioSessionMappingRequest withSessionPolicyArn(String sessionPolicyArn)
The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. You should specify the ARN for the session policy that you want to apply, not the ARN of your user role. For more information, see Create an Amazon EMR Studio User Role with Session Policies.
sessionPolicyArn
- The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. You
should specify the ARN for the session policy that you want to apply, not the ARN of your user role. For
more information, see Create an Amazon
EMR Studio User Role with Session Policies.public String toString()
toString
in class Object
Object.toString()
public CreateStudioSessionMappingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()