Class ApplicationAssignmentForPrincipal
- java.lang.Object
-
- software.amazon.awssdk.services.ssoadmin.model.ApplicationAssignmentForPrincipal
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ApplicationAssignmentForPrincipal.Builder,ApplicationAssignmentForPrincipal>
@Generated("software.amazon.awssdk:codegen") public final class ApplicationAssignmentForPrincipal extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApplicationAssignmentForPrincipal.Builder,ApplicationAssignmentForPrincipal>
A structure that describes an application to which a principal is assigned.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ApplicationAssignmentForPrincipal.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
applicationArn()
The ARN of the application to which the specified principal is assigned.static ApplicationAssignmentForPrincipal.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 ApplicationAssignmentForPrincipal.Builder>
serializableBuilderClass()
ApplicationAssignmentForPrincipal.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 to which the specified principal is assigned.
- Returns:
- The ARN of the application to which the specified principal is 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 ApplicationAssignmentForPrincipal.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ApplicationAssignmentForPrincipal.Builder,ApplicationAssignmentForPrincipal>
-
builder
public static ApplicationAssignmentForPrincipal.Builder builder()
-
serializableBuilderClass
public static Class<? extends ApplicationAssignmentForPrincipal.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.
-
-