@Generated(value="software.amazon.awssdk:codegen") public final class WorkGroupSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkGroupSummary.Builder,WorkGroupSummary>
The summary information for the workgroup, which includes its name, state, description, and the date and time it was created.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WorkGroupSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WorkGroupSummary.Builder |
builder() |
Instant |
creationTime()
The workgroup creation date and time.
|
String |
description()
The workgroup description.
|
EngineVersion |
engineVersion()
The engine version setting for all queries on the workgroup.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the workgroup.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WorkGroupSummary.Builder> |
serializableBuilderClass() |
WorkGroupState |
state()
The state of the workgroup.
|
String |
stateAsString()
The state of the workgroup.
|
WorkGroupSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the workgroup.
public final WorkGroupState state()
The state of the workgroup.
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.
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 description()
The workgroup description.
public final Instant creationTime()
The workgroup creation date and time.
public final EngineVersion engineVersion()
The engine version setting for all queries on the workgroup. Queries on the
AmazonAthenaPreviewFunctionality workgroup run on the preview engine regardless of this setting.
AmazonAthenaPreviewFunctionality workgroup run on the preview engine regardless of this
setting.public WorkGroupSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WorkGroupSummary.Builder,WorkGroupSummary>public static WorkGroupSummary.Builder builder()
public static Class<? extends WorkGroupSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.