@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExpirationSettings extends Object implements Serializable, Cloneable, StructuredPojo
Settings that control the interval after which a channel is deleted.
| Constructor and Description | 
|---|
| ExpirationSettings() | 
| Modifier and Type | Method and Description | 
|---|---|
| ExpirationSettings | clone() | 
| boolean | equals(Object obj) | 
| String | getExpirationCriterion()
 The conditions that must be met for a channel to expire. | 
| Integer | getExpirationDays()
 The period in days after which the system automatically deletes a channel. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setExpirationCriterion(String expirationCriterion)
 The conditions that must be met for a channel to expire. | 
| void | setExpirationDays(Integer expirationDays)
 The period in days after which the system automatically deletes a channel. | 
| String | toString()Returns a string representation of this object. | 
| ExpirationSettings | withExpirationCriterion(ExpirationCriterion expirationCriterion)
 The conditions that must be met for a channel to expire. | 
| ExpirationSettings | withExpirationCriterion(String expirationCriterion)
 The conditions that must be met for a channel to expire. | 
| ExpirationSettings | withExpirationDays(Integer expirationDays)
 The period in days after which the system automatically deletes a channel. | 
public void setExpirationDays(Integer expirationDays)
The period in days after which the system automatically deletes a channel.
expirationDays - The period in days after which the system automatically deletes a channel.public Integer getExpirationDays()
The period in days after which the system automatically deletes a channel.
public ExpirationSettings withExpirationDays(Integer expirationDays)
The period in days after which the system automatically deletes a channel.
expirationDays - The period in days after which the system automatically deletes a channel.public void setExpirationCriterion(String expirationCriterion)
The conditions that must be met for a channel to expire.
expirationCriterion - The conditions that must be met for a channel to expire.ExpirationCriterionpublic String getExpirationCriterion()
The conditions that must be met for a channel to expire.
ExpirationCriterionpublic ExpirationSettings withExpirationCriterion(String expirationCriterion)
The conditions that must be met for a channel to expire.
expirationCriterion - The conditions that must be met for a channel to expire.ExpirationCriterionpublic ExpirationSettings withExpirationCriterion(ExpirationCriterion expirationCriterion)
The conditions that must be met for a channel to expire.
expirationCriterion - The conditions that must be met for a channel to expire.ExpirationCriterionpublic String toString()
toString in class ObjectObject.toString()public ExpirationSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.