@Generated(value="software.amazon.awssdk:codegen") public final class RoleInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RoleInfo.Builder,RoleInfo>
Provides information about the role that is assigned to the user.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RoleInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The identifier of the AWS account assigned to the user.
|
static RoleInfo.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
roleName()
The friendly name of the role that is assigned to the user.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RoleInfo.Builder> |
serializableBuilderClass() |
RoleInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String roleName()
The friendly name of the role that is assigned to the user.
public final String accountId()
The identifier of the AWS account assigned to the user.
public RoleInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RoleInfo.Builder,RoleInfo>public static RoleInfo.Builder builder()
public static Class<? extends RoleInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.