@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CatalogSchemaChangePolicy extends Object implements Serializable, Cloneable, StructuredPojo
A policy that specifies update behavior for the crawler.
| Constructor and Description |
|---|
CatalogSchemaChangePolicy() |
| Modifier and Type | Method and Description |
|---|---|
CatalogSchemaChangePolicy |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnableUpdateCatalog()
Whether to use the specified update behavior when the crawler finds a changed schema.
|
String |
getUpdateBehavior()
The update behavior when the crawler finds a changed schema.
|
int |
hashCode() |
Boolean |
isEnableUpdateCatalog()
Whether to use the specified update behavior when the crawler finds a changed schema.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEnableUpdateCatalog(Boolean enableUpdateCatalog)
Whether to use the specified update behavior when the crawler finds a changed schema.
|
void |
setUpdateBehavior(String updateBehavior)
The update behavior when the crawler finds a changed schema.
|
String |
toString()
Returns a string representation of this object.
|
CatalogSchemaChangePolicy |
withEnableUpdateCatalog(Boolean enableUpdateCatalog)
Whether to use the specified update behavior when the crawler finds a changed schema.
|
CatalogSchemaChangePolicy |
withUpdateBehavior(String updateBehavior)
The update behavior when the crawler finds a changed schema.
|
CatalogSchemaChangePolicy |
withUpdateBehavior(UpdateCatalogBehavior updateBehavior)
The update behavior when the crawler finds a changed schema.
|
public void setEnableUpdateCatalog(Boolean enableUpdateCatalog)
Whether to use the specified update behavior when the crawler finds a changed schema.
enableUpdateCatalog - Whether to use the specified update behavior when the crawler finds a changed schema.public Boolean getEnableUpdateCatalog()
Whether to use the specified update behavior when the crawler finds a changed schema.
public CatalogSchemaChangePolicy withEnableUpdateCatalog(Boolean enableUpdateCatalog)
Whether to use the specified update behavior when the crawler finds a changed schema.
enableUpdateCatalog - Whether to use the specified update behavior when the crawler finds a changed schema.public Boolean isEnableUpdateCatalog()
Whether to use the specified update behavior when the crawler finds a changed schema.
public void setUpdateBehavior(String updateBehavior)
The update behavior when the crawler finds a changed schema.
updateBehavior - The update behavior when the crawler finds a changed schema.UpdateCatalogBehaviorpublic String getUpdateBehavior()
The update behavior when the crawler finds a changed schema.
UpdateCatalogBehaviorpublic CatalogSchemaChangePolicy withUpdateBehavior(String updateBehavior)
The update behavior when the crawler finds a changed schema.
updateBehavior - The update behavior when the crawler finds a changed schema.UpdateCatalogBehaviorpublic CatalogSchemaChangePolicy withUpdateBehavior(UpdateCatalogBehavior updateBehavior)
The update behavior when the crawler finds a changed schema.
updateBehavior - The update behavior when the crawler finds a changed schema.UpdateCatalogBehaviorpublic String toString()
toString in class ObjectObject.toString()public CatalogSchemaChangePolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.