@Generated(value="software.amazon.awssdk:codegen") public final class CreateAccountAssignmentRequest extends SsoAdminRequest implements ToCopyableBuilder<CreateAccountAssignmentRequest.Builder,CreateAccountAssignmentRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateAccountAssignmentRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateAccountAssignmentRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceArn()
The ARN of the SSO instance under which the operation will be executed.
|
String |
permissionSetArn()
The ARN of the permission set that the admin wants to grant the principal access to.
|
String |
principalId()
An identifier for an object in AWS SSO, such as a user or group.
|
PrincipalType |
principalType()
The entity type for which the assignment will be created.
|
String |
principalTypeAsString()
The entity type for which the assignment will be created.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateAccountAssignmentRequest.Builder> |
serializableBuilderClass() |
String |
targetId()
TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).
|
TargetType |
targetType()
The entity type for which the assignment will be created.
|
String |
targetTypeAsString()
The entity type for which the assignment will be created.
|
CreateAccountAssignmentRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
public String targetId()
TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).
public TargetType targetType()
The entity type for which the assignment will be created.
If the service returns an enum value that is not available in the current SDK version, targetType will
return TargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
targetTypeAsString().
TargetTypepublic String targetTypeAsString()
The entity type for which the assignment will be created.
If the service returns an enum value that is not available in the current SDK version, targetType will
return TargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
targetTypeAsString().
TargetTypepublic String permissionSetArn()
The ARN of the permission set that the admin wants to grant the principal access to.
public PrincipalType principalType()
The entity type for which the assignment will be created.
If the service returns an enum value that is not available in the current SDK version, principalType
will return PrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
principalTypeAsString().
PrincipalTypepublic String principalTypeAsString()
The entity type for which the assignment will be created.
If the service returns an enum value that is not available in the current SDK version, principalType
will return PrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
principalTypeAsString().
PrincipalTypepublic 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.
public CreateAccountAssignmentRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateAccountAssignmentRequest.Builder,CreateAccountAssignmentRequest>toBuilder in class SsoAdminRequestpublic static CreateAccountAssignmentRequest.Builder builder()
public static Class<? extends CreateAccountAssignmentRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.