Class GetRoleCredentialsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.sso.model.SsoRequest
-
- software.amazon.awssdk.services.sso.model.GetRoleCredentialsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetRoleCredentialsRequest.Builder,GetRoleCredentialsRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetRoleCredentialsRequest extends SsoRequest implements ToCopyableBuilder<GetRoleCredentialsRequest.Builder,GetRoleCredentialsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetRoleCredentialsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccessToken()The token issued by theCreateTokenAPI call.StringaccountId()The identifier for the AWS account that is assigned to the user.static GetRoleCredentialsRequest.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.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetRoleCredentialsRequest.Builder>serializableBuilderClass()GetRoleCredentialsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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 for the AWS account that is assigned to the user.
- Returns:
- The identifier for the AWS account that is assigned to the user.
-
accessToken
public final String accessToken()
The token issued by the
CreateTokenAPI call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.- Returns:
- The token issued by the
CreateTokenAPI call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.
-
toBuilder
public GetRoleCredentialsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetRoleCredentialsRequest.Builder,GetRoleCredentialsRequest>- Specified by:
toBuilderin classSsoRequest
-
builder
public static GetRoleCredentialsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetRoleCredentialsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-