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.
|
build
requestOverrideConfig
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.GrantAccessRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.GrantAccessRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.