Interface CreateWorkGroupRequest.Builder
- All Superinterfaces:
AthenaRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateWorkGroupRequest.Builder,
,CreateWorkGroupRequest> SdkBuilder<CreateWorkGroupRequest.Builder,
,CreateWorkGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateWorkGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateWorkGroupRequest.Builder
configuration
(Consumer<WorkGroupConfiguration.Builder> configuration) Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup.configuration
(WorkGroupConfiguration configuration) Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup.description
(String description) The workgroup description.The workgroup name.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) A list of comma separated tags to add to the workgroup that is created.tags
(Consumer<Tag.Builder>... tags) A list of comma separated tags to add to the workgroup that is created.A list of comma separated tags to add to the workgroup that is created.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
-
name
The workgroup name.
- Parameters:
name
- The workgroup name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup. Athena SQL workgroup configuration includes the location in Amazon S3 where query and calculation results are stored, the encryption configuration, if any, used for encrypting query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per query, if it is specified, and whether workgroup's settings (specified with
EnforceWorkGroupConfiguration
) in theWorkGroupConfiguration
override client-side settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.- Parameters:
configuration
- Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup. Athena SQL workgroup configuration includes the location in Amazon S3 where query and calculation results are stored, the encryption configuration, if any, used for encrypting query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per query, if it is specified, and whether workgroup's settings (specified withEnforceWorkGroupConfiguration
) in theWorkGroupConfiguration
override client-side settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default CreateWorkGroupRequest.Builder configuration(Consumer<WorkGroupConfiguration.Builder> configuration) Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup. Athena SQL workgroup configuration includes the location in Amazon S3 where query and calculation results are stored, the encryption configuration, if any, used for encrypting query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per query, if it is specified, and whether workgroup's settings (specified with
This is a convenience method that creates an instance of theEnforceWorkGroupConfiguration
) in theWorkGroupConfiguration
override client-side settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.WorkGroupConfiguration.Builder
avoiding the need to create one manually viaWorkGroupConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(WorkGroupConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onWorkGroupConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The workgroup description.
- Parameters:
description
- The workgroup description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of comma separated tags to add to the workgroup that is created.
- Parameters:
tags
- A list of comma separated tags to add to the workgroup that is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of comma separated tags to add to the workgroup that is created.
- Parameters:
tags
- A list of comma separated tags to add to the workgroup that is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of comma separated tags to add to the workgroup that is created.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateWorkGroupRequest.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
CreateWorkGroupRequest.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.
-