@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbortConfig extends Object implements Serializable, Cloneable, StructuredPojo
The criteria that determine when and how a job abort takes place.
Constructor and Description |
---|
AbortConfig() |
Modifier and Type | Method and Description |
---|---|
AbortConfig |
clone() |
boolean |
equals(Object obj) |
List<AbortCriteria> |
getCriteriaList()
The list of criteria that determine when and how to abort the job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCriteriaList(Collection<AbortCriteria> criteriaList)
The list of criteria that determine when and how to abort the job.
|
String |
toString()
Returns a string representation of this object.
|
AbortConfig |
withCriteriaList(AbortCriteria... criteriaList)
The list of criteria that determine when and how to abort the job.
|
AbortConfig |
withCriteriaList(Collection<AbortCriteria> criteriaList)
The list of criteria that determine when and how to abort the job.
|
public List<AbortCriteria> getCriteriaList()
The list of criteria that determine when and how to abort the job.
public void setCriteriaList(Collection<AbortCriteria> criteriaList)
The list of criteria that determine when and how to abort the job.
criteriaList
- The list of criteria that determine when and how to abort the job.public AbortConfig withCriteriaList(AbortCriteria... criteriaList)
The list of criteria that determine when and how to abort the job.
NOTE: This method appends the values to the existing list (if any). Use
setCriteriaList(java.util.Collection)
or withCriteriaList(java.util.Collection)
if you want to
override the existing values.
criteriaList
- The list of criteria that determine when and how to abort the job.public AbortConfig withCriteriaList(Collection<AbortCriteria> criteriaList)
The list of criteria that determine when and how to abort the job.
criteriaList
- The list of criteria that determine when and how to abort the job.public String toString()
toString
in class Object
Object.toString()
public AbortConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.