Class CreateAccountAssignmentRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ssoadmin.model.SsoAdminRequest
-
- software.amazon.awssdk.services.ssoadmin.model.CreateAccountAssignmentRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<CreateAccountAssignmentRequest.Builder,CreateAccountAssignmentRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateAccountAssignmentRequest extends SsoAdminRequest implements ToCopyableBuilder<CreateAccountAssignmentRequest.Builder,CreateAccountAssignmentRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CreateAccountAssignmentRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 IAM Identity Center 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 IAM Identity Center, 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.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends CreateAccountAssignmentRequest.Builder>
serializableBuilderClass()
String
targetId()
TargetID is an Amazon Web Services account identifier, (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.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
instanceArn
public final String instanceArn()
The ARN of the IAM Identity Center 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.
- Returns:
- The ARN of the IAM Identity Center 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.
-
permissionSetArn
public final String permissionSetArn()
The ARN of the permission set that the admin wants to grant the principal access to.
- Returns:
- The ARN of the permission set that the admin wants to grant the principal access to.
-
principalId
public final String principalId()
An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
- Returns:
- An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
-
principalType
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 returnPrincipalType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromprincipalTypeAsString()
.- Returns:
- The entity type for which the assignment will be created.
- See Also:
PrincipalType
-
principalTypeAsString
public 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 returnPrincipalType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromprincipalTypeAsString()
.- Returns:
- The entity type for which the assignment will be created.
- See Also:
PrincipalType
-
targetId
public final String targetId()
TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
- Returns:
- TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
-
targetType
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 returnTargetType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtargetTypeAsString()
.- Returns:
- The entity type for which the assignment will be created.
- See Also:
TargetType
-
targetTypeAsString
public 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 returnTargetType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtargetTypeAsString()
.- Returns:
- The entity type for which the assignment will be created.
- See Also:
TargetType
-
toBuilder
public CreateAccountAssignmentRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<CreateAccountAssignmentRequest.Builder,CreateAccountAssignmentRequest>
- Specified by:
toBuilder
in classSsoAdminRequest
-
builder
public static CreateAccountAssignmentRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateAccountAssignmentRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-