Class ApplicationAssignment
- java.lang.Object
-
- software.amazon.awssdk.services.ssoadmin.model.ApplicationAssignment
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ApplicationAssignment.Builder,ApplicationAssignment>
@Generated("software.amazon.awssdk:codegen") public final class ApplicationAssignment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApplicationAssignment.Builder,ApplicationAssignment>
A structure that describes an assignment of a principal to an application.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ApplicationAssignment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
applicationArn()
The ARN of the application that has principals assigned.static ApplicationAssignment.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
principalId()
The unique identifier of the principal assigned to the application.PrincipalType
principalType()
The type of the principal assigned to the application.String
principalTypeAsString()
The type of the principal assigned to the application.List<SdkField<?>>
sdkFields()
static Class<? extends ApplicationAssignment.Builder>
serializableBuilderClass()
ApplicationAssignment.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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 that has principals assigned.
- Returns:
- The ARN of the application that has principals assigned.
-
principalId
public final String principalId()
The unique identifier of the principal assigned to the application.
- Returns:
- The unique identifier of the principal assigned to the application.
-
principalType
public final PrincipalType principalType()
The type of the principal assigned to the application.
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 type of the principal assigned to the application.
- See Also:
PrincipalType
-
principalTypeAsString
public final String principalTypeAsString()
The type of the principal assigned to the application.
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 type of the principal assigned to the application.
- See Also:
PrincipalType
-
toBuilder
public ApplicationAssignment.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ApplicationAssignment.Builder,ApplicationAssignment>
-
builder
public static ApplicationAssignment.Builder builder()
-
serializableBuilderClass
public static Class<? extends ApplicationAssignment.Builder> serializableBuilderClass()
-
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.
-
-