public static interface GrantAccessRequest.Builder extends OpsWorksRequest.Builder, CopyableBuilder<GrantAccessRequest.Builder,GrantAccessRequest>
| Modifier and Type | Method and Description |
|---|---|
GrantAccessRequest.Builder |
instanceId(String instanceId)
The instance's AWS OpsWorks Stacks ID.
|
GrantAccessRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
GrantAccessRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
GrantAccessRequest.Builder |
validForInMinutes(Integer validForInMinutes)
The length of time (in minutes) that the grant is valid.
|
buildrequestOverrideConfigcopyapply, buildGrantAccessRequest.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.GrantAccessRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.GrantAccessRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.