Class CatalogSchemaChangePolicy
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.CatalogSchemaChangePolicy
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CatalogSchemaChangePolicy.Builder,CatalogSchemaChangePolicy>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCatalogSchemaChangePolicy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CatalogSchemaChangePolicy.Builderbuilder()BooleanenableUpdateCatalog()Whether to use the specified update behavior when the crawler finds a changed schema.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CatalogSchemaChangePolicy.Builder>serializableBuilderClass()CatalogSchemaChangePolicy.BuildertoBuilder()StringtoString()Returns a string representation of this object.UpdateCatalogBehaviorupdateBehavior()The update behavior when the crawler finds a changed schema.StringupdateBehaviorAsString()The update behavior when the crawler finds a changed schema.-
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
-
enableUpdateCatalog
public final Boolean enableUpdateCatalog()
Whether to use the specified update behavior when the crawler finds a changed schema.
- Returns:
- Whether to use the specified update behavior when the crawler finds a changed schema.
-
updateBehavior
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,
updateBehaviorwill returnUpdateCatalogBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateBehaviorAsString().- Returns:
- The update behavior when the crawler finds a changed schema.
- See Also:
UpdateCatalogBehavior
-
updateBehaviorAsString
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,
updateBehaviorwill returnUpdateCatalogBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateBehaviorAsString().- Returns:
- The update behavior when the crawler finds a changed schema.
- See Also:
UpdateCatalogBehavior
-
toBuilder
public CatalogSchemaChangePolicy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CatalogSchemaChangePolicy.Builder,CatalogSchemaChangePolicy>
-
builder
public static CatalogSchemaChangePolicy.Builder builder()
-
serializableBuilderClass
public static Class<? extends CatalogSchemaChangePolicy.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-