@Generated(value="software.amazon.awssdk:codegen") public final class DirectSchemaChangePolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DirectSchemaChangePolicy.Builder,DirectSchemaChangePolicy>
A policy that specifies update behavior for the crawler.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DirectSchemaChangePolicy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DirectSchemaChangePolicy.Builder |
builder() |
String |
database()
Specifies the database that the schema change policy applies to.
|
Boolean |
enableUpdateCatalog()
Whether to use the specified update behavior when the crawler finds a changed schema.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DirectSchemaChangePolicy.Builder> |
serializableBuilderClass() |
String |
table()
Specifies the table in the database that the schema change policy applies to.
|
DirectSchemaChangePolicy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
UpdateCatalogBehavior |
updateBehavior()
The update behavior when the crawler finds a changed schema.
|
String |
updateBehaviorAsString()
The update behavior when the crawler finds a changed schema.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean enableUpdateCatalog()
Whether to use the specified update behavior when the crawler finds a changed schema.
public final UpdateCatalogBehavior updateBehavior()
The update behavior when the crawler finds a changed schema.
If the service returns an enum value that is not available in the current SDK version, updateBehavior
will return UpdateCatalogBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from updateBehaviorAsString().
UpdateCatalogBehaviorpublic final String updateBehaviorAsString()
The update behavior when the crawler finds a changed schema.
If the service returns an enum value that is not available in the current SDK version, updateBehavior
will return UpdateCatalogBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from updateBehaviorAsString().
UpdateCatalogBehaviorpublic final String table()
Specifies the table in the database that the schema change policy applies to.
public final String database()
Specifies the database that the schema change policy applies to.
public DirectSchemaChangePolicy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DirectSchemaChangePolicy.Builder,DirectSchemaChangePolicy>public static DirectSchemaChangePolicy.Builder builder()
public static Class<? extends DirectSchemaChangePolicy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.