Interface AwsAthenaWorkGroupDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsAthenaWorkGroupDetails.Builder,
,AwsAthenaWorkGroupDetails> SdkBuilder<AwsAthenaWorkGroupDetails.Builder,
,AwsAthenaWorkGroupDetails> SdkPojo
- Enclosing class:
AwsAthenaWorkGroupDetails
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration
(Consumer<AwsAthenaWorkGroupConfigurationDetails.Builder> configuration) The configuration of the workgroup, which includes the location in Amazon Simple Storage Service (Amazon S3) where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified.configuration
(AwsAthenaWorkGroupConfigurationDetails configuration) The configuration of the workgroup, which includes the location in Amazon Simple Storage Service (Amazon S3) where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified.description
(String description) The workgroup description.The workgroup name.Whether the workgroup is enabled or disabled.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.
-
description
The workgroup description.
- Parameters:
description
- The workgroup description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Whether the workgroup is enabled or disabled.
- Parameters:
state
- Whether the workgroup is enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
AwsAthenaWorkGroupDetails.Builder configuration(AwsAthenaWorkGroupConfigurationDetails configuration) The configuration of the workgroup, which includes the location in Amazon Simple Storage Service (Amazon S3) where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified.
- Parameters:
configuration
- The configuration of the workgroup, which includes the location in Amazon Simple Storage Service (Amazon S3) where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default AwsAthenaWorkGroupDetails.Builder configuration(Consumer<AwsAthenaWorkGroupConfigurationDetails.Builder> configuration) The configuration of the workgroup, which includes the location in Amazon Simple Storage Service (Amazon S3) where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified.
This is a convenience method that creates an instance of theAwsAthenaWorkGroupConfigurationDetails.Builder
avoiding the need to create one manually viaAwsAthenaWorkGroupConfigurationDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(AwsAthenaWorkGroupConfigurationDetails)
.- Parameters:
configuration
- a consumer that will call methods onAwsAthenaWorkGroupConfigurationDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-