@Generated(value="software.amazon.awssdk:codegen") public final class WorkGroup extends Object implements SdkPojo, Serializable, 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WorkGroup.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WorkGroup.Builder |
builder() |
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.
|
Instant |
creationTime()
The date and time the workgroup was created.
|
String |
description()
The workgroup description.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The workgroup name.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WorkGroup.Builder> |
serializableBuilderClass() |
WorkGroupState |
state()
The state of the workgroup: ENABLED or DISABLED.
|
String |
stateAsString()
The state of the workgroup: ENABLED or DISABLED.
|
WorkGroup.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The workgroup name.
public final WorkGroupState 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 return
WorkGroupState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
WorkGroupStatepublic final String 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 return
WorkGroupState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
WorkGroupStatepublic final 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 the
WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
EnforceWorkGroupConfiguration
(true/false) in the WorkGroupConfiguration. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.public final String description()
The workgroup description.
public final Instant creationTime()
The date and time the workgroup was created.
public WorkGroup.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WorkGroup.Builder,WorkGroup>public static WorkGroup.Builder builder()
public static Class<? extends WorkGroup.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.