Interface UpdateWorkGroupRequest.Builder
- All Superinterfaces:
AthenaRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateWorkGroupRequest.Builder,,UpdateWorkGroupRequest> SdkBuilder<UpdateWorkGroupRequest.Builder,,UpdateWorkGroupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateWorkGroupRequest
@Mutable
@NotThreadSafe
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) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) 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, sdkFieldNameToField, 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) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateWorkGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-