@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAuthorizationTokenRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetAuthorizationTokenRequest() |
Modifier and Type | Method and Description |
---|---|
GetAuthorizationTokenRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDomain()
The name of the domain that is in scope for the generated authorization token.
|
String |
getDomainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
Long |
getDurationSeconds()
The time, in seconds, that the generated authorization token is valid.
|
int |
hashCode() |
void |
setDomain(String domain)
The name of the domain that is in scope for the generated authorization token.
|
void |
setDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
void |
setDurationSeconds(Long durationSeconds)
The time, in seconds, that the generated authorization token is valid.
|
String |
toString()
Returns a string representation of this object.
|
GetAuthorizationTokenRequest |
withDomain(String domain)
The name of the domain that is in scope for the generated authorization token.
|
GetAuthorizationTokenRequest |
withDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
GetAuthorizationTokenRequest |
withDurationSeconds(Long durationSeconds)
The time, in seconds, that the generated authorization token is valid.
|
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 setDomain(String domain)
The name of the domain that is in scope for the generated authorization token.
domain
- The name of the domain that is in scope for the generated authorization token.public String getDomain()
The name of the domain that is in scope for the generated authorization token.
public GetAuthorizationTokenRequest withDomain(String domain)
The name of the domain that is in scope for the generated authorization token.
domain
- The name of the domain that is in scope for the generated authorization token.public void setDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
dashes or spaces.public String getDomainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
public GetAuthorizationTokenRequest withDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
dashes or spaces.public void setDurationSeconds(Long durationSeconds)
The time, in seconds, that the generated authorization token is valid. Valid values are 0
and any
number between 900
(15 minutes) and 43200
(12 hours). A value of 0
will
set the expiration of the authorization token to the same expiration of the user's role's temporary credentials.
durationSeconds
- The time, in seconds, that the generated authorization token is valid. Valid values are 0
and
any number between 900
(15 minutes) and 43200
(12 hours). A value of
0
will set the expiration of the authorization token to the same expiration of the user's
role's temporary credentials.public Long getDurationSeconds()
The time, in seconds, that the generated authorization token is valid. Valid values are 0
and any
number between 900
(15 minutes) and 43200
(12 hours). A value of 0
will
set the expiration of the authorization token to the same expiration of the user's role's temporary credentials.
0
and any number between 900
(15 minutes) and 43200
(12 hours). A value of
0
will set the expiration of the authorization token to the same expiration of the user's
role's temporary credentials.public GetAuthorizationTokenRequest withDurationSeconds(Long durationSeconds)
The time, in seconds, that the generated authorization token is valid. Valid values are 0
and any
number between 900
(15 minutes) and 43200
(12 hours). A value of 0
will
set the expiration of the authorization token to the same expiration of the user's role's temporary credentials.
durationSeconds
- The time, in seconds, that the generated authorization token is valid. Valid values are 0
and
any number between 900
(15 minutes) and 43200
(12 hours). A value of
0
will set the expiration of the authorization token to the same expiration of the user's
role's temporary credentials.public String toString()
toString
in class Object
Object.toString()
public GetAuthorizationTokenRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()