Interface AwsAthenaWorkGroupDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsAthenaWorkGroupDetails.Builder,AwsAthenaWorkGroupDetails>,SdkBuilder<AwsAthenaWorkGroupDetails.Builder,AwsAthenaWorkGroupDetails>,SdkPojo
- Enclosing class:
- AwsAthenaWorkGroupDetails
public static interface AwsAthenaWorkGroupDetails.Builder extends SdkPojo, CopyableBuilder<AwsAthenaWorkGroupDetails.Builder,AwsAthenaWorkGroupDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AwsAthenaWorkGroupDetails.Builderconfiguration(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.AwsAthenaWorkGroupDetails.Builderconfiguration(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.AwsAthenaWorkGroupDetails.Builderdescription(String description)The workgroup description.AwsAthenaWorkGroupDetails.Buildername(String name)The workgroup name.AwsAthenaWorkGroupDetails.Builderstate(String state)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 Detail
-
name
AwsAthenaWorkGroupDetails.Builder name(String 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
AwsAthenaWorkGroupDetails.Builder description(String 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
AwsAthenaWorkGroupDetails.Builder state(String 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.Builderavoiding the need to create one manually viaAwsAthenaWorkGroupConfigurationDetails.builder().When the
Consumercompletes,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:
configuration(AwsAthenaWorkGroupConfigurationDetails)
-
-