Class UpdateTableRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.glue.model.GlueRequest
-
- software.amazon.awssdk.services.glue.model.UpdateTableRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateTableRequest.Builder,UpdateTableRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateTableRequest extends GlueRequest implements ToCopyableBuilder<UpdateTableRequest.Builder,UpdateTableRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateTableRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateTableRequest.Builderbuilder()StringcatalogId()The ID of the Data Catalog where the table resides.StringdatabaseName()The name of the catalog database in which the table resides.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Booleanforce()A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends UpdateTableRequest.Builder>serializableBuilderClass()BooleanskipArchive()By default,UpdateTablealways creates an archived version of the table before updating it.TableInputtableInput()An updatedTableInputobject to define the metadata table in the catalog.UpdateTableRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtransactionId()The transaction ID at which to update the table contents.StringversionId()The version ID at which to update the table contents.ViewUpdateActionviewUpdateAction()The operation to be performed when updating the view.StringviewUpdateActionAsString()The operation to be performed when updating the view.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
catalogId
public final String catalogId()
The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.
- Returns:
- The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.
-
databaseName
public final String databaseName()
The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.
- Returns:
- The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.
-
tableInput
public final TableInput tableInput()
An updated
TableInputobject to define the metadata table in the catalog.- Returns:
- An updated
TableInputobject to define the metadata table in the catalog.
-
skipArchive
public final Boolean skipArchive()
By default,
UpdateTablealways creates an archived version of the table before updating it. However, ifskipArchiveis set to true,UpdateTabledoes not create the archived version.- Returns:
- By default,
UpdateTablealways creates an archived version of the table before updating it. However, ifskipArchiveis set to true,UpdateTabledoes not create the archived version.
-
transactionId
public final String transactionId()
The transaction ID at which to update the table contents.
- Returns:
- The transaction ID at which to update the table contents.
-
versionId
public final String versionId()
The version ID at which to update the table contents.
- Returns:
- The version ID at which to update the table contents.
-
viewUpdateAction
public final ViewUpdateAction viewUpdateAction()
The operation to be performed when updating the view.
If the service returns an enum value that is not available in the current SDK version,
viewUpdateActionwill returnViewUpdateAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromviewUpdateActionAsString().- Returns:
- The operation to be performed when updating the view.
- See Also:
ViewUpdateAction
-
viewUpdateActionAsString
public final String viewUpdateActionAsString()
The operation to be performed when updating the view.
If the service returns an enum value that is not available in the current SDK version,
viewUpdateActionwill returnViewUpdateAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromviewUpdateActionAsString().- Returns:
- The operation to be performed when updating the view.
- See Also:
ViewUpdateAction
-
force
public final Boolean force()
A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.
- Returns:
- A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.
-
toBuilder
public UpdateTableRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateTableRequest.Builder,UpdateTableRequest>- Specified by:
toBuilderin classGlueRequest
-
builder
public static UpdateTableRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateTableRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-