Interface UpdateWorkGroupRequest.Builder
- All Superinterfaces:
AthenaRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateWorkGroupRequest.Builder,
,UpdateWorkGroupRequest> SdkBuilder<UpdateWorkGroupRequest.Builder,
,UpdateWorkGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateWorkGroupRequest
public static interface UpdateWorkGroupRequest.Builder
extends AthenaRequest.Builder, SdkPojo, CopyableBuilder<UpdateWorkGroupRequest.Builder,UpdateWorkGroupRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateWorkGroupRequest.Builder
configurationUpdates
(Consumer<WorkGroupConfigurationUpdates.Builder> configurationUpdates) Contains configuration updates for an Athena SQL workgroup.configurationUpdates
(WorkGroupConfigurationUpdates configurationUpdates) Contains configuration updates for an Athena SQL workgroup.description
(String description) The workgroup description.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The workgroup state that will be updated for the given workgroup.state
(WorkGroupState state) The workgroup state that will be updated for the given workgroup.The specified workgroup that will be updated.Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
workGroup
The specified workgroup that will be updated.
- Parameters:
workGroup
- The specified workgroup that will be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The workgroup description.
- Parameters:
description
- The workgroup description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationUpdates
UpdateWorkGroupRequest.Builder configurationUpdates(WorkGroupConfigurationUpdates configurationUpdates) Contains configuration updates for an Athena SQL workgroup.
- Parameters:
configurationUpdates
- Contains configuration updates for an Athena SQL workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationUpdates
default UpdateWorkGroupRequest.Builder configurationUpdates(Consumer<WorkGroupConfigurationUpdates.Builder> configurationUpdates) Contains configuration updates for an Athena SQL workgroup.
This is a convenience method that creates an instance of theWorkGroupConfigurationUpdates.Builder
avoiding the need to create one manually viaWorkGroupConfigurationUpdates.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfigurationUpdates(WorkGroupConfigurationUpdates)
.- Parameters:
configurationUpdates
- a consumer that will call methods onWorkGroupConfigurationUpdates.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The workgroup state that will be updated for the given workgroup.
- Parameters:
state
- The workgroup state that will be updated for the given workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The workgroup state that will be updated for the given workgroup.
- Parameters:
state
- The workgroup state that will be updated for the given workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateWorkGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateWorkGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-