Class RoleCredentials
java.lang.Object
software.amazon.awssdk.services.sso.model.RoleCredentials
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RoleCredentials.Builder,RoleCredentials>
@Generated("software.amazon.awssdk:codegen")
public final class RoleCredentials
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<RoleCredentials.Builder,RoleCredentials>
Provides information about the role credentials that are assigned to the user.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe identifier used for the temporary security credentials.static RoleCredentials.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final LongThe date on which temporary security credentials expire.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe key that is used to sign the request.static Class<? extends RoleCredentials.Builder>final StringThe token used for temporary credentials.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
-
accessKeyId
The identifier used for the temporary security credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
- Returns:
- The identifier used for the temporary security credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
-
secretAccessKey
The key that is used to sign the request. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
- Returns:
- The key that is used to sign the request. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
-
sessionToken
The token used for temporary credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
- Returns:
- The token used for temporary credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
-
expiration
The date on which temporary security credentials expire.
- Returns:
- The date on which temporary security credentials expire.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<RoleCredentials.Builder,RoleCredentials>
-
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
-