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.Builderconfiguration(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
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
-
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 theWorkGroupConfigurationoverride 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 theWorkGroupConfigurationoverride 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 theWorkGroupConfigurationoverride client-side settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.WorkGroupConfiguration.Builderavoiding the need to create one manually viaWorkGroupConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-