public static interface CreateWorkGroupRequest.Builder extends AthenaRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkGroupRequest.Builder,CreateWorkGroupRequest>
| Modifier and Type | Method and Description |
|---|---|
default CreateWorkGroupRequest.Builder |
configuration(Consumer<WorkGroupConfiguration.Builder> configuration)
Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup.
|
CreateWorkGroupRequest.Builder |
configuration(WorkGroupConfiguration configuration)
Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup.
|
CreateWorkGroupRequest.Builder |
description(String description)
The workgroup description.
|
CreateWorkGroupRequest.Builder |
name(String name)
The workgroup name.
|
CreateWorkGroupRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateWorkGroupRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateWorkGroupRequest.Builder |
tags(Collection<Tag> tags)
A list of comma separated tags to add to the workgroup that is created.
|
CreateWorkGroupRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of comma separated tags to add to the workgroup that is created.
|
CreateWorkGroupRequest.Builder |
tags(Tag... tags)
A list of comma separated tags to add to the workgroup that is created.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateWorkGroupRequest.Builder name(String name)
The workgroup name.
name - The workgroup name.CreateWorkGroupRequest.Builder configuration(WorkGroupConfiguration 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 the WorkGroupConfiguration override client-side
settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
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 the WorkGroupConfiguration override
client-side settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.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
EnforceWorkGroupConfiguration) in the WorkGroupConfiguration override client-side
settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
WorkGroupConfiguration.Builder avoiding
the need to create one manually via WorkGroupConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to configuration(WorkGroupConfiguration).
configuration - a consumer that will call methods on WorkGroupConfiguration.Builderconfiguration(WorkGroupConfiguration)CreateWorkGroupRequest.Builder description(String description)
The workgroup description.
description - The workgroup description.CreateWorkGroupRequest.Builder tags(Collection<Tag> tags)
A list of comma separated tags to add to the workgroup that is created.
tags - A list of comma separated tags to add to the workgroup that is created.CreateWorkGroupRequest.Builder tags(Tag... tags)
A list of comma separated tags to add to the workgroup that is created.
tags - A list of comma separated tags to add to the workgroup that is created.CreateWorkGroupRequest.Builder tags(Consumer<Tag.Builder>... 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 via
Tag.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CreateWorkGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateWorkGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.