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.BuilderconfigurationUpdates(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
buildMethods 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.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaWorkGroupConfigurationUpdates.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-