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.Builderbuilder()final WorkGroupConfigurationThe 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 InstantThe date and time the workgroup was created.final StringThe workgroup description.final booleanfinal booleanequalsBySdkFields(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 inthashCode()final StringThe ARN of the IAM Identity Center enabled application associated with the workgroup.final Stringname()The workgroup name.static Class<? extends WorkGroup.Builder> final WorkGroupStatestate()The state of the workgroup: ENABLED or DISABLED.final StringThe 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 StringtoString()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,
statewill 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,
statewill 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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<WorkGroup.Builder,WorkGroup> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-