Class RoleInfo
- java.lang.Object
-
- software.amazon.awssdk.services.sso.model.RoleInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RoleInfo.Builder,RoleInfo>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRoleInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The identifier of the AWS account assigned to the user.static RoleInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringroleName()The friendly name of the role that is assigned to the user.List<SdkField<?>>sdkFields()static Class<? extends RoleInfo.Builder>serializableBuilderClass()RoleInfo.BuildertoBuilder()StringtoString()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
-
roleName
public final String roleName()
The friendly name of the role that is assigned to the user.
- Returns:
- The friendly name of the role that is assigned to the user.
-
accountId
public final String accountId()
The identifier of the AWS account assigned to the user.
- Returns:
- The identifier of the AWS account assigned to the user.
-
toBuilder
public RoleInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RoleInfo.Builder,RoleInfo>
-
builder
public static RoleInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends RoleInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
-