Interface WorkGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkGroup.Builder,
,WorkGroup> SdkBuilder<WorkGroup.Builder,
,WorkGroup> SdkPojo
- Enclosing class:
WorkGroup
-
Method Summary
Modifier and TypeMethodDescriptiondefault WorkGroup.Builder
configuration
(Consumer<WorkGroupConfiguration.Builder> configuration) The configuration of the workgroup, which includes the location in Amazon S3 where query and calculation results are stored, the encryption configuration, if any, used for query and calculation results; whether the Amazon CloudWatch Metrics are enabled for the workgroup; whether workgroup settings override client-side settings; and the data usage limits for the amount of data scanned per query or per workgroup.configuration
(WorkGroupConfiguration configuration) The configuration of the workgroup, which includes the location in Amazon S3 where query and calculation results are stored, the encryption configuration, if any, used for query and calculation results; whether the Amazon CloudWatch Metrics are enabled for the workgroup; whether workgroup settings override client-side settings; and the data usage limits for the amount of data scanned per query or per workgroup.creationTime
(Instant creationTime) The date and time the workgroup was created.description
(String description) The workgroup description.identityCenterApplicationArn
(String identityCenterApplicationArn) The ARN of the IAM Identity Center enabled application associated with the workgroup.The workgroup name.The state of the workgroup: ENABLED or DISABLED.state
(WorkGroupState state) The state of the workgroup: 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.
-
state
The state of the workgroup: ENABLED or DISABLED.
- Parameters:
state
- The state of the workgroup: ENABLED or DISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the workgroup: ENABLED or DISABLED.
- Parameters:
state
- The state of the workgroup: ENABLED or DISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configuration
The configuration of the workgroup, which includes the location in Amazon S3 where query and calculation results are stored, the encryption configuration, if any, used for query and calculation results; whether the Amazon CloudWatch Metrics are enabled for the workgroup; whether workgroup settings override client-side settings; and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified in
EnforceWorkGroupConfiguration
(true/false) in theWorkGroupConfiguration
. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.- Parameters:
configuration
- The configuration of the workgroup, which includes the location in Amazon S3 where query and calculation results are stored, the encryption configuration, if any, used for query and calculation results; whether the Amazon CloudWatch Metrics are enabled for the workgroup; whether workgroup settings override client-side settings; and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified inEnforceWorkGroupConfiguration
(true/false) in theWorkGroupConfiguration
. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.- 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 S3 where query and calculation results are stored, the encryption configuration, if any, used for query and calculation results; whether the Amazon CloudWatch Metrics are enabled for the workgroup; whether workgroup settings override client-side settings; and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified in
This is a convenience method that creates an instance of theEnforceWorkGroupConfiguration
(true/false) in theWorkGroupConfiguration
. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.WorkGroupConfiguration.Builder
avoiding the need to create one manually viaWorkGroupConfiguration.builder()
.When the
Consumer
completes,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.
-
creationTime
The date and time the workgroup was created.
- Parameters:
creationTime
- The date and time the workgroup was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityCenterApplicationArn
The ARN of the IAM Identity Center enabled application associated with the workgroup.
- Parameters:
identityCenterApplicationArn
- The ARN of the IAM Identity Center enabled application associated with the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-