Interface WorkGroup.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkGroup.Builder,WorkGroup>,SdkBuilder<WorkGroup.Builder,WorkGroup>,SdkPojo
- Enclosing class:
- WorkGroup
public static interface WorkGroup.Builder extends SdkPojo, CopyableBuilder<WorkGroup.Builder,WorkGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default WorkGroup.Builderconfiguration(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.WorkGroup.Builderconfiguration(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.WorkGroup.BuildercreationTime(Instant creationTime)The date and time the workgroup was created.WorkGroup.Builderdescription(String description)The workgroup description.WorkGroup.BuilderidentityCenterApplicationArn(String identityCenterApplicationArn)The ARN of the IAM Identity Center enabled application associated with the workgroup.WorkGroup.Buildername(String name)The workgroup name.WorkGroup.Builderstate(String state)The state of the workgroup: ENABLED or DISABLED.WorkGroup.Builderstate(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
WorkGroup.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.
-
state
WorkGroup.Builder state(String 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:
WorkGroupState,WorkGroupState
-
state
WorkGroup.Builder state(WorkGroupState 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:
WorkGroupState,WorkGroupState
-
configuration
WorkGroup.Builder 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. 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
default 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. 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.Builderavoiding the need to create one manually viaWorkGroupConfiguration.builder().When the
Consumercompletes,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:
configuration(WorkGroupConfiguration)
-
description
WorkGroup.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.
-
creationTime
WorkGroup.Builder creationTime(Instant 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
WorkGroup.Builder identityCenterApplicationArn(String 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.
-
-