@Generated(value="software.amazon.awssdk:codegen") public final class CatalogSchemaChangePolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CatalogSchemaChangePolicy.Builder,CatalogSchemaChangePolicy>
A policy that specifies update behavior for the crawler.
Modifier and Type | Class and Description |
---|---|
static interface |
CatalogSchemaChangePolicy.Builder |
Modifier and Type | Method and Description |
---|---|
static CatalogSchemaChangePolicy.Builder |
builder() |
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 CatalogSchemaChangePolicy.Builder> |
serializableBuilderClass() |
CatalogSchemaChangePolicy.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, wait
copy
public 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()
.
UpdateCatalogBehavior
public 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()
.
UpdateCatalogBehavior
public CatalogSchemaChangePolicy.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CatalogSchemaChangePolicy.Builder,CatalogSchemaChangePolicy>
public static CatalogSchemaChangePolicy.Builder builder()
public static Class<? extends CatalogSchemaChangePolicy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.