Class DirectSchemaChangePolicy
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.DirectSchemaChangePolicy
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DirectSchemaChangePolicy.Builder,DirectSchemaChangePolicy>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDirectSchemaChangePolicy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DirectSchemaChangePolicy.Builderbuilder()Stringdatabase()Specifies the database that the schema change policy applies to.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()List<SdkField<?>>sdkFields()static Class<? extends DirectSchemaChangePolicy.Builder>serializableBuilderClass()Stringtable()Specifies the table in the database that the schema change policy applies to.DirectSchemaChangePolicy.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
-
table
public final String table()
Specifies the table in the database that the schema change policy applies to.
- Returns:
- Specifies the table in the database that the schema change policy applies to.
-
database
public final String database()
Specifies the database that the schema change policy applies to.
- Returns:
- Specifies the database that the schema change policy applies to.
-
toBuilder
public DirectSchemaChangePolicy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DirectSchemaChangePolicy.Builder,DirectSchemaChangePolicy>
-
builder
public static DirectSchemaChangePolicy.Builder builder()
-
serializableBuilderClass
public static Class<? extends DirectSchemaChangePolicy.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.
-
-