@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAccountAssignmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateAccountAssignmentRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateAccountAssignmentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceArn()
The ARN of the SSO instance under which the operation will be executed.
|
String |
getPermissionSetArn()
The ARN of the permission set that the admin wants to grant the principal access to.
|
String |
getPrincipalId()
An identifier for an object in AWS SSO, such as a user or group.
|
String |
getPrincipalType()
The entity type for which the assignment will be created.
|
String |
getTargetId()
TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).
|
String |
getTargetType()
The entity type for which the assignment will be created.
|
int |
hashCode() |
void |
setInstanceArn(String instanceArn)
The ARN of the SSO instance under which the operation will be executed.
|
void |
setPermissionSetArn(String permissionSetArn)
The ARN of the permission set that the admin wants to grant the principal access to.
|
void |
setPrincipalId(String principalId)
An identifier for an object in AWS SSO, such as a user or group.
|
void |
setPrincipalType(String principalType)
The entity type for which the assignment will be created.
|
void |
setTargetId(String targetId)
TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).
|
void |
setTargetType(String targetType)
The entity type for which the assignment will be created.
|
String |
toString()
Returns a string representation of this object.
|
CreateAccountAssignmentRequest |
withInstanceArn(String instanceArn)
The ARN of the SSO instance under which the operation will be executed.
|
CreateAccountAssignmentRequest |
withPermissionSetArn(String permissionSetArn)
The ARN of the permission set that the admin wants to grant the principal access to.
|
CreateAccountAssignmentRequest |
withPrincipalId(String principalId)
An identifier for an object in AWS SSO, such as a user or group.
|
CreateAccountAssignmentRequest |
withPrincipalType(PrincipalType principalType)
The entity type for which the assignment will be created.
|
CreateAccountAssignmentRequest |
withPrincipalType(String principalType)
The entity type for which the assignment will be created.
|
CreateAccountAssignmentRequest |
withTargetId(String targetId)
TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).
|
CreateAccountAssignmentRequest |
withTargetType(String targetType)
The entity type for which the assignment will be created.
|
CreateAccountAssignmentRequest |
withTargetType(TargetType targetType)
The entity type for which the assignment will be created.
|
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, withSdkRequestTimeoutpublic void setInstanceArn(String instanceArn)
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
instanceArn - The ARN of the SSO instance under which the operation will be executed. For more information about ARNs,
see Amazon Resource Names (ARNs) and AWS Service
Namespaces in the AWS General Reference.public String getInstanceArn()
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public CreateAccountAssignmentRequest withInstanceArn(String instanceArn)
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
instanceArn - The ARN of the SSO instance under which the operation will be executed. For more information about ARNs,
see Amazon Resource Names (ARNs) and AWS Service
Namespaces in the AWS General Reference.public void setTargetId(String targetId)
TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).
targetId - TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).public String getTargetId()
TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).
public CreateAccountAssignmentRequest withTargetId(String targetId)
TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).
targetId - TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).public void setTargetType(String targetType)
The entity type for which the assignment will be created.
targetType - The entity type for which the assignment will be created.TargetTypepublic String getTargetType()
The entity type for which the assignment will be created.
TargetTypepublic CreateAccountAssignmentRequest withTargetType(String targetType)
The entity type for which the assignment will be created.
targetType - The entity type for which the assignment will be created.TargetTypepublic CreateAccountAssignmentRequest withTargetType(TargetType targetType)
The entity type for which the assignment will be created.
targetType - The entity type for which the assignment will be created.TargetTypepublic void setPermissionSetArn(String permissionSetArn)
The ARN of the permission set that the admin wants to grant the principal access to.
permissionSetArn - The ARN of the permission set that the admin wants to grant the principal access to.public String getPermissionSetArn()
The ARN of the permission set that the admin wants to grant the principal access to.
public CreateAccountAssignmentRequest withPermissionSetArn(String permissionSetArn)
The ARN of the permission set that the admin wants to grant the principal access to.
permissionSetArn - The ARN of the permission set that the admin wants to grant the principal access to.public void setPrincipalType(String principalType)
The entity type for which the assignment will be created.
principalType - The entity type for which the assignment will be created.PrincipalTypepublic String getPrincipalType()
The entity type for which the assignment will be created.
PrincipalTypepublic CreateAccountAssignmentRequest withPrincipalType(String principalType)
The entity type for which the assignment will be created.
principalType - The entity type for which the assignment will be created.PrincipalTypepublic CreateAccountAssignmentRequest withPrincipalType(PrincipalType principalType)
The entity type for which the assignment will be created.
principalType - The entity type for which the assignment will be created.PrincipalTypepublic void setPrincipalId(String principalId)
An identifier for an object in AWS SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in AWS SSO, see the AWS SSO Identity Store API Reference.
principalId - An identifier for an object in AWS SSO, such as a user or group. PrincipalIds are GUIDs (For example,
f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in AWS SSO, see the AWS SSO Identity Store API
Reference.public String getPrincipalId()
An identifier for an object in AWS SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in AWS SSO, see the AWS SSO Identity Store API Reference.
public CreateAccountAssignmentRequest withPrincipalId(String principalId)
An identifier for an object in AWS SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in AWS SSO, see the AWS SSO Identity Store API Reference.
principalId - An identifier for an object in AWS SSO, such as a user or group. PrincipalIds are GUIDs (For example,
f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in AWS SSO, see the AWS SSO Identity Store API
Reference.public String toString()
toString in class ObjectObject.toString()public CreateAccountAssignmentRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()