Class GrantAccessRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The instance's AWS OpsWorks ID.The length of time (in minutes) that the grant is valid.int
hashCode()
void
setInstanceId
(String instanceId) The instance's AWS OpsWorks ID.void
setValidForInMinutes
(Integer validForInMinutes) The length of time (in minutes) that the grant is valid.toString()
Returns a string representation of this object; useful for testing and debugging.withInstanceId
(String instanceId) The instance's AWS OpsWorks ID.withValidForInMinutes
(Integer validForInMinutes) The length of time (in minutes) that the grant is valid.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
GrantAccessRequest
public GrantAccessRequest()
-
-
Method Details
-
setInstanceId
The instance's AWS OpsWorks ID.
- Parameters:
instanceId
- The instance's AWS OpsWorks ID.
-
getInstanceId
The instance's AWS OpsWorks ID.
- Returns:
- The instance's AWS OpsWorks ID.
-
withInstanceId
The instance's AWS OpsWorks ID.
- Parameters:
instanceId
- The instance's AWS OpsWorks ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValidForInMinutes
The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.
- Parameters:
validForInMinutes
- The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.
-
getValidForInMinutes
The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.
- Returns:
- The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.
-
withValidForInMinutes
The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.
- Parameters:
validForInMinutes
- The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-