@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.ExpirationCriterion
public String getExpirationCriterion()
The conditions that must be met for a channel to expire.
ExpirationCriterion
public 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.ExpirationCriterion
public 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.ExpirationCriterion
public String toString()
toString
in class Object
Object.toString()
public ExpirationSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.