@Generated(value="software.amazon.awssdk:codegen") public final class GetRoleCredentialsRequest extends SsoRequest implements ToCopyableBuilder<GetRoleCredentialsRequest.Builder,GetRoleCredentialsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetRoleCredentialsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessToken()
The token issued by the
CreateToken API call. |
String |
accountId()
The identifier for the AWS account that is assigned to the user.
|
static GetRoleCredentialsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
roleName()
The friendly name of the role that is assigned to the user.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetRoleCredentialsRequest.Builder> |
serializableBuilderClass() |
GetRoleCredentialsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String roleName()
The friendly name of the role that is assigned to the user.
public final String accountId()
The identifier for the AWS account that is assigned to the user.
public final String accessToken()
The token issued by the CreateToken API call. For more information, see CreateToken in
the IAM Identity Center OIDC API Reference Guide.
CreateToken API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.public GetRoleCredentialsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetRoleCredentialsRequest.Builder,GetRoleCredentialsRequest>toBuilder in class SsoRequestpublic static GetRoleCredentialsRequest.Builder builder()
public static Class<? extends GetRoleCredentialsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.