Interface GrantAccessRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GrantAccessRequest.Builder,,GrantAccessRequest> OpsWorksRequest.Builder,SdkBuilder<GrantAccessRequest.Builder,,GrantAccessRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GrantAccessRequest
public static interface GrantAccessRequest.Builder
extends OpsWorksRequest.Builder, SdkPojo, CopyableBuilder<GrantAccessRequest.Builder,GrantAccessRequest>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceId(String instanceId) The instance's OpsWorks Stacks ID.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.validForInMinutes(Integer validForInMinutes) The length of time (in minutes) that the grant is valid.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
instanceId
The instance's OpsWorks Stacks ID.
- Parameters:
instanceId- The instance's OpsWorks Stacks ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GrantAccessRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GrantAccessRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-