Class AssumedRoleUser
java.lang.Object
software.amazon.awssdk.services.sts.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>
The identifiers for the temporary security credentials that the operation returns.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The ARN of the temporary security credentials that are returned from the AssumeRole action.final StringA unique identifier that contains the role ID and the role session name of the role that is being assumed.static AssumedRoleUser.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends AssumedRoleUser.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
assumedRoleId
A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by Amazon Web Services when the role is created.
- Returns:
- A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by Amazon Web Services when the role is created.
-
arn
The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide.
- Returns:
- The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssumedRoleUser.Builder,AssumedRoleUser>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-