@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) |
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.UpdateCatalogBehavior
public String getUpdateBehavior()
The update behavior when the crawler finds a changed schema.
UpdateCatalogBehavior
public 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.UpdateCatalogBehavior
public 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.UpdateCatalogBehavior
public String toString()
toString
in class Object
Object.toString()
public CatalogSchemaChangePolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.