@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 Amazon Web Services 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 Amazon Web Services 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 final 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.
public final String targetId()
TargetID is an Amazon Web Services account identifier, typically a 10-12 digit string (For example, 123456789012).
public final 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 final 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 final String permissionSetArn()
The ARN of the permission set that the admin wants to grant the principal access to.
public final 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 final 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 final 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.
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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.