@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SchemaChangePolicy extends Object implements Serializable, Cloneable, StructuredPojo
A policy that specifies update and deletion behaviors for the crawler.
Constructor and Description |
---|
SchemaChangePolicy() |
Modifier and Type | Method and Description |
---|---|
SchemaChangePolicy |
clone() |
boolean |
equals(Object obj) |
String |
getDeleteBehavior()
The deletion behavior when the crawler finds a deleted object.
|
String |
getUpdateBehavior()
The update behavior when the crawler finds a changed schema.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeleteBehavior(String deleteBehavior)
The deletion behavior when the crawler finds a deleted object.
|
void |
setUpdateBehavior(String updateBehavior)
The update behavior when the crawler finds a changed schema.
|
String |
toString()
Returns a string representation of this object.
|
SchemaChangePolicy |
withDeleteBehavior(DeleteBehavior deleteBehavior)
The deletion behavior when the crawler finds a deleted object.
|
SchemaChangePolicy |
withDeleteBehavior(String deleteBehavior)
The deletion behavior when the crawler finds a deleted object.
|
SchemaChangePolicy |
withUpdateBehavior(String updateBehavior)
The update behavior when the crawler finds a changed schema.
|
SchemaChangePolicy |
withUpdateBehavior(UpdateBehavior updateBehavior)
The 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.UpdateBehavior
public String getUpdateBehavior()
The update behavior when the crawler finds a changed schema.
UpdateBehavior
public SchemaChangePolicy withUpdateBehavior(String updateBehavior)
The update behavior when the crawler finds a changed schema.
updateBehavior
- The update behavior when the crawler finds a changed schema.UpdateBehavior
public SchemaChangePolicy withUpdateBehavior(UpdateBehavior updateBehavior)
The update behavior when the crawler finds a changed schema.
updateBehavior
- The update behavior when the crawler finds a changed schema.UpdateBehavior
public void setDeleteBehavior(String deleteBehavior)
The deletion behavior when the crawler finds a deleted object.
deleteBehavior
- The deletion behavior when the crawler finds a deleted object.DeleteBehavior
public String getDeleteBehavior()
The deletion behavior when the crawler finds a deleted object.
DeleteBehavior
public SchemaChangePolicy withDeleteBehavior(String deleteBehavior)
The deletion behavior when the crawler finds a deleted object.
deleteBehavior
- The deletion behavior when the crawler finds a deleted object.DeleteBehavior
public SchemaChangePolicy withDeleteBehavior(DeleteBehavior deleteBehavior)
The deletion behavior when the crawler finds a deleted object.
deleteBehavior
- The deletion behavior when the crawler finds a deleted object.DeleteBehavior
public String toString()
toString
in class Object
Object.toString()
public SchemaChangePolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.