@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 Amazon Web Services SSO, such as a user or group.
|
String |
getPrincipalType()
The entity type for which the assignment will be created.
|
String |
getTargetId()
TargetID is an Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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, withSdkRequestTimeout
public 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 Amazon Web Services Service Namespaces in the Amazon Web Services 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 Amazon Web
Services Service Namespaces in the Amazon Web Services 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 Amazon Web Services Service Namespaces in the Amazon Web Services 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 Amazon Web Services Service Namespaces in the Amazon Web Services 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 Amazon Web
Services Service Namespaces in the Amazon Web Services General Reference.public void setTargetId(String targetId)
TargetID is an Amazon Web Services account identifier, typically a 10-12 digit string (For example, 123456789012).
targetId
- TargetID is an Amazon Web Services account identifier, typically a 10-12 digit string (For example,
123456789012).public String getTargetId()
TargetID is an Amazon Web Services account identifier, typically a 10-12 digit string (For example, 123456789012).
public CreateAccountAssignmentRequest withTargetId(String targetId)
TargetID is an Amazon Web Services account identifier, typically a 10-12 digit string (For example, 123456789012).
targetId
- TargetID is an Amazon Web Services 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.TargetType
public String getTargetType()
The entity type for which the assignment will be created.
TargetType
public 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.TargetType
public 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.TargetType
public 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.PrincipalType
public String getPrincipalType()
The entity type for which the assignment will be created.
PrincipalType
public 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.PrincipalType
public 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.PrincipalType
public void setPrincipalId(String principalId)
An identifier for an object in Amazon Web Services SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in Amazon Web Services SSO, see the Amazon Web Services SSO Identity Store API Reference.
principalId
- An identifier for an object in Amazon Web Services SSO, such as a user or group. PrincipalIds are GUIDs
(For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in Amazon Web
Services SSO, see the Amazon Web
Services SSO Identity Store API Reference.public String getPrincipalId()
An identifier for an object in Amazon Web Services SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in Amazon Web Services SSO, see the Amazon Web Services SSO Identity Store API Reference.
public CreateAccountAssignmentRequest withPrincipalId(String principalId)
An identifier for an object in Amazon Web Services SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in Amazon Web Services SSO, see the Amazon Web Services SSO Identity Store API Reference.
principalId
- An identifier for an object in Amazon Web Services SSO, such as a user or group. PrincipalIds are GUIDs
(For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in Amazon Web
Services SSO, see the Amazon Web
Services SSO Identity Store API Reference.public String toString()
toString
in class Object
Object.toString()
public CreateAccountAssignmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()