CopyableBuilder<GrantAccessRequest.Builder,GrantAccessRequest>
, SdkBuilder<GrantAccessRequest.Builder,GrantAccessRequest>
public static interface GrantAccessRequest.Builder extends CopyableBuilder<GrantAccessRequest.Builder,GrantAccessRequest>
Modifier and Type | Method | Description |
---|---|---|
GrantAccessRequest.Builder |
instanceId(String instanceId) |
The instance's AWS OpsWorks Stacks ID.
|
GrantAccessRequest.Builder |
validForInMinutes(Integer validForInMinutes) |
The length of time (in minutes) that the grant is valid.
|
copy
apply, build
GrantAccessRequest.Builder instanceId(String instanceId)
The instance's AWS OpsWorks Stacks ID.
instanceId
- The instance's AWS OpsWorks Stacks ID.GrantAccessRequest.Builder validForInMinutes(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, he or she automatically will be 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, he or she automatically will be logged out.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.