Class AssumedRoleUser
- java.lang.Object
-
- software.amazon.awssdk.services.eksauth.model.AssumedRoleUser
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AssumedRoleUser.Builder,AssumedRoleUser>
@Generated("software.amazon.awssdk:codegen") public final class AssumedRoleUser extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssumedRoleUser.Builder,AssumedRoleUser>
An object with the permanent IAM role identity and the temporary session name.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssumedRoleUser.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the IAM role that the temporary credentials authenticate to.StringassumeRoleId()The session name of the temporary session requested to STS.static AssumedRoleUser.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends AssumedRoleUser.Builder>serializableBuilderClass()AssumedRoleUser.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
-
arn
public final String arn()
The ARN of the IAM role that the temporary credentials authenticate to.
- Returns:
- The ARN of the IAM role that the temporary credentials authenticate to.
-
assumeRoleId
public final String assumeRoleId()
The session name of the temporary session requested to STS. The value is a unique identifier that contains the role ID, a colon (
:), and the role session name of the role that is being assumed. The role ID is generated by IAM when the role is created. The role session name part of the value follows this format:eks-clustername-podname-random UUID- Returns:
- The session name of the temporary session requested to STS. The value is a unique identifier that
contains the role ID, a colon (
:), and the role session name of the role that is being assumed. The role ID is generated by IAM when the role is created. The role session name part of the value follows this format:eks-clustername-podname-random UUID
-
toBuilder
public AssumedRoleUser.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssumedRoleUser.Builder,AssumedRoleUser>
-
builder
public static AssumedRoleUser.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssumedRoleUser.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.
-
-