@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GrantAccessRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GrantAccessRequest() |
Modifier and Type | Method and Description |
---|---|
GrantAccessRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceId()
The instance's OpsWorks Stacks ID.
|
Integer |
getValidForInMinutes()
The length of time (in minutes) that the grant is valid.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The instance's OpsWorks Stacks ID.
|
void |
setValidForInMinutes(Integer validForInMinutes)
The length of time (in minutes) that the grant is valid.
|
String |
toString()
Returns a string representation of this object.
|
GrantAccessRequest |
withInstanceId(String instanceId)
The instance's OpsWorks Stacks ID.
|
GrantAccessRequest |
withValidForInMinutes(Integer validForInMinutes)
The length of time (in minutes) that the grant 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 setInstanceId(String instanceId)
The instance's OpsWorks Stacks ID.
instanceId
- The instance's OpsWorks Stacks ID.public String getInstanceId()
The instance's OpsWorks Stacks ID.
public GrantAccessRequest withInstanceId(String instanceId)
The instance's OpsWorks Stacks ID.
instanceId
- The instance's OpsWorks Stacks ID.public void setValidForInMinutes(Integer 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, they are logged out.
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,
they are logged out.public Integer 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, they are logged out.
public GrantAccessRequest withValidForInMinutes(Integer 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, they are logged out.
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,
they are logged out.public String toString()
toString
in class Object
Object.toString()
public GrantAccessRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()