Class CreateApplicationAssignmentRequest
- 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.CreateApplicationAssignmentRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateApplicationAssignmentRequest.Builder,CreateApplicationAssignmentRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateApplicationAssignmentRequest extends SsoAdminRequest implements ToCopyableBuilder<CreateApplicationAssignmentRequest.Builder,CreateApplicationAssignmentRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateApplicationAssignmentRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationArn()The ARN of the application for which the assignment is created.static CreateApplicationAssignmentRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringprincipalId()An identifier for an object in IAM Identity Center, such as a user or group.PrincipalTypeprincipalType()The entity type for which the assignment will be created.StringprincipalTypeAsString()The entity type for which the assignment will be created.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CreateApplicationAssignmentRequest.Builder>serializableBuilderClass()CreateApplicationAssignmentRequest.BuildertoBuilder()StringtoString()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
-
applicationArn
public final String applicationArn()
The ARN of the application for which the assignment is created.
- Returns:
- The ARN of the application for which the assignment is created.
-
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,
principalTypewill 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,
principalTypewill 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
-
toBuilder
public CreateApplicationAssignmentRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateApplicationAssignmentRequest.Builder,CreateApplicationAssignmentRequest>- Specified by:
toBuilderin classSsoAdminRequest
-
builder
public static CreateApplicationAssignmentRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateApplicationAssignmentRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-