@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRoleCredentialsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetRoleCredentialsRequest() |
Modifier and Type | Method and Description |
---|---|
GetRoleCredentialsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccessToken()
The token issued by the
CreateToken API call. |
String |
getAccountId()
The identifier for the AWS account that is assigned to the user.
|
String |
getRoleName()
The friendly name of the role that is assigned to the user.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
The token issued by the
CreateToken API call. |
void |
setAccountId(String accountId)
The identifier for the AWS account that is assigned to the user.
|
void |
setRoleName(String roleName)
The friendly name of the role that is assigned to the user.
|
String |
toString()
Returns a string representation of this object.
|
GetRoleCredentialsRequest |
withAccessToken(String accessToken)
The token issued by the
CreateToken API call. |
GetRoleCredentialsRequest |
withAccountId(String accountId)
The identifier for the AWS account that is assigned to the user.
|
GetRoleCredentialsRequest |
withRoleName(String roleName)
The friendly name of the role that is assigned to the user.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRoleName(String roleName)
The friendly name of the role that is assigned to the user.
roleName
- The friendly name of the role that is assigned to the user.public String getRoleName()
The friendly name of the role that is assigned to the user.
public GetRoleCredentialsRequest withRoleName(String roleName)
The friendly name of the role that is assigned to the user.
roleName
- The friendly name of the role that is assigned to the user.public void setAccountId(String accountId)
The identifier for the AWS account that is assigned to the user.
accountId
- The identifier for the AWS account that is assigned to the user.public String getAccountId()
The identifier for the AWS account that is assigned to the user.
public GetRoleCredentialsRequest withAccountId(String accountId)
The identifier for the AWS account that is assigned to the user.
accountId
- The identifier for the AWS account that is assigned to the user.public void setAccessToken(String accessToken)
The token issued by the CreateToken
API call. For more information, see CreateToken in
the AWS SSO OIDC API Reference Guide.
accessToken
- The token issued by the CreateToken
API call. For more information, see CreateToken in the AWS SSO OIDC API Reference Guide.public String getAccessToken()
The token issued by the CreateToken
API call. For more information, see CreateToken in
the AWS SSO OIDC API Reference Guide.
CreateToken
API call. For more information, see CreateToken in the AWS SSO OIDC API Reference Guide.public GetRoleCredentialsRequest withAccessToken(String accessToken)
The token issued by the CreateToken
API call. For more information, see CreateToken in
the AWS SSO OIDC API Reference Guide.
accessToken
- The token issued by the CreateToken
API call. For more information, see CreateToken in the AWS SSO OIDC API Reference Guide.public String toString()
toString
in class Object
Object.toString()
public GetRoleCredentialsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()