Class WorkGroup
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<WorkGroup.Builder,
WorkGroup>
A workgroup, which contains a name, description, creation time, state, and other configuration, listed under
WorkGroup$Configuration. Each workgroup enables you to isolate queries for you or your group of users from
other queries in the same account, to configure the query results location and the encryption configuration (known as
workgroup settings), to enable sending query metrics to Amazon CloudWatch, and to establish per-query data usage
control limits for all queries in a workgroup. The workgroup settings override is specified in
EnforceWorkGroupConfiguration
(true/false) in the WorkGroupConfiguration
. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkGroup.Builder
builder()
final WorkGroupConfiguration
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.final Instant
The date and time the workgroup was created.final String
The workgroup description.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
The ARN of the IAM Identity Center enabled application associated with the workgroup.final String
name()
The workgroup name.static Class
<? extends WorkGroup.Builder> final WorkGroupState
state()
The state of the workgroup: ENABLED or DISABLED.final String
The state of the workgroup: ENABLED or DISABLED.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
-
state
The state of the workgroup: ENABLED or DISABLED.
If the service returns an enum value that is not available in the current SDK version,
state
will returnWorkGroupState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
- The state of the workgroup: ENABLED or DISABLED.
- See Also:
-
stateAsString
The state of the workgroup: ENABLED or DISABLED.
If the service returns an enum value that is not available in the current SDK version,
state
will returnWorkGroupState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
- The state of the workgroup: ENABLED or DISABLED.
- 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.- Returns:
- 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.
-
description
-
creationTime
The date and time the workgroup was created.
- Returns:
- The date and time the workgroup was created.
-
identityCenterApplicationArn
The ARN of the IAM Identity Center enabled application associated with the workgroup.
- Returns:
- The ARN of the IAM Identity Center enabled application associated with the workgroup.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<WorkGroup.Builder,
WorkGroup> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-