Class UpdateWorkGroupRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.athena.model.AthenaRequest
software.amazon.awssdk.services.athena.model.UpdateWorkGroupRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateWorkGroupRequest.Builder,UpdateWorkGroupRequest>
@Generated("software.amazon.awssdk:codegen")
public final class UpdateWorkGroupRequest
extends AthenaRequest
implements ToCopyableBuilder<UpdateWorkGroupRequest.Builder,UpdateWorkGroupRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Contains configuration updates for an Athena SQL workgroup.final StringThe workgroup description.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends UpdateWorkGroupRequest.Builder>final WorkGroupStatestate()The workgroup state that will be updated for the given workgroup.final StringThe workgroup state that will be updated for the given workgroup.final StringtoString()Returns a string representation of this object.final StringThe specified workgroup that will be updated.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
workGroup
The specified workgroup that will be updated.
- Returns:
- The specified workgroup that will be updated.
-
description
The workgroup description.
- Returns:
- The workgroup description.
-
configurationUpdates
Contains configuration updates for an Athena SQL workgroup.
- Returns:
- Contains configuration updates for an Athena SQL workgroup.
-
state
The workgroup state that will be updated for the given workgroup.
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 workgroup state that will be updated for the given workgroup.
- See Also:
-
stateAsString
The workgroup state that will be updated for the given workgroup.
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 workgroup state that will be updated for the given workgroup.
- See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateWorkGroupRequest.Builder,UpdateWorkGroupRequest> - Specified by:
toBuilderin classAthenaRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-