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 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

      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

      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

      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

      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 the AwsAthenaWorkGroupConfigurationDetails.Builder avoiding the need to create one manually via AwsAthenaWorkGroupConfigurationDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configuration(AwsAthenaWorkGroupConfigurationDetails).

      Parameters:
      configuration - a consumer that will call methods on AwsAthenaWorkGroupConfigurationDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: