@Generated(value="software.amazon.awssdk:codegen") public final class ImpersonationRole extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImpersonationRole.Builder,ImpersonationRole>
An impersonation role for the given WorkMail organization.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImpersonationRole.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImpersonationRole.Builder |
builder() |
Instant |
dateCreated()
The date when the impersonation role was created.
|
Instant |
dateModified()
The date when the impersonation role was last modified.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
impersonationRoleId()
The identifier of the impersonation role.
|
String |
name()
The impersonation role name.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ImpersonationRole.Builder> |
serializableBuilderClass() |
ImpersonationRole.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ImpersonationRoleType |
type()
The impersonation role type.
|
String |
typeAsString()
The impersonation role type.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String impersonationRoleId()
The identifier of the impersonation role.
public final String name()
The impersonation role name.
public final ImpersonationRoleType type()
The impersonation role type.
If the service returns an enum value that is not available in the current SDK version, type will return
ImpersonationRoleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ImpersonationRoleTypepublic final String typeAsString()
The impersonation role type.
If the service returns an enum value that is not available in the current SDK version, type will return
ImpersonationRoleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ImpersonationRoleTypepublic final Instant dateCreated()
The date when the impersonation role was created.
public final Instant dateModified()
The date when the impersonation role was last modified.
public ImpersonationRole.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ImpersonationRole.Builder,ImpersonationRole>public static ImpersonationRole.Builder builder()
public static Class<? extends ImpersonationRole.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.