@Generated(value="software.amazon.awssdk:codegen") public final class Role extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Role.Builder,Role>
The wrapper that contains the AWS Audit Manager role information of the current user, such as the role type and IAM Amazon Resource Name (ARN).
| Modifier and Type | Class and Description |
|---|---|
static interface |
Role.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Role.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
roleArn()
The Amazon Resource Name (ARN) of the IAM role.
|
RoleType |
roleType()
The type of customer persona.
|
String |
roleTypeAsString()
The type of customer persona.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Role.Builder> |
serializableBuilderClass() |
Role.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final RoleType roleType()
The type of customer persona.
In CreateAssessment, roleType can only be PROCESS_OWNER.
In UpdateSettings, roleType can only be PROCESS_OWNER.
In BatchCreateDelegationByAssessment, roleType can only be RESOURCE_OWNER.
If the service returns an enum value that is not available in the current SDK version, roleType will
return RoleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
roleTypeAsString().
In CreateAssessment, roleType can only be PROCESS_OWNER.
In UpdateSettings, roleType can only be PROCESS_OWNER.
In BatchCreateDelegationByAssessment, roleType can only be
RESOURCE_OWNER.
RoleTypepublic final String roleTypeAsString()
The type of customer persona.
In CreateAssessment, roleType can only be PROCESS_OWNER.
In UpdateSettings, roleType can only be PROCESS_OWNER.
In BatchCreateDelegationByAssessment, roleType can only be RESOURCE_OWNER.
If the service returns an enum value that is not available in the current SDK version, roleType will
return RoleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
roleTypeAsString().
In CreateAssessment, roleType can only be PROCESS_OWNER.
In UpdateSettings, roleType can only be PROCESS_OWNER.
In BatchCreateDelegationByAssessment, roleType can only be
RESOURCE_OWNER.
RoleTypepublic final String roleArn()
The Amazon Resource Name (ARN) of the IAM role.
public Role.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Role.Builder,Role>public static Role.Builder builder()
public static Class<? extends Role.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.