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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GrantAccessRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.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
overrideConfiguration
copy
applyMutation, 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.GrantAccessRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.