@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExpirationSettings extends Object implements Serializable, Cloneable, StructuredPojo
Determines the interval after which an AppInstanceUser
is automatically deleted.
Constructor and Description |
---|
ExpirationSettings() |
Modifier and Type | Method and Description |
---|---|
ExpirationSettings |
clone() |
boolean |
equals(Object obj) |
String |
getExpirationCriterion()
Specifies the conditions under which an
AppInstanceUser will expire. |
Integer |
getExpirationDays()
The period in days after which an
AppInstanceUser will be automatically deleted. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExpirationCriterion(String expirationCriterion)
Specifies the conditions under which an
AppInstanceUser will expire. |
void |
setExpirationDays(Integer expirationDays)
The period in days after which an
AppInstanceUser will be automatically deleted. |
String |
toString()
Returns a string representation of this object.
|
ExpirationSettings |
withExpirationCriterion(ExpirationCriterion expirationCriterion)
Specifies the conditions under which an
AppInstanceUser will expire. |
ExpirationSettings |
withExpirationCriterion(String expirationCriterion)
Specifies the conditions under which an
AppInstanceUser will expire. |
ExpirationSettings |
withExpirationDays(Integer expirationDays)
The period in days after which an
AppInstanceUser will be automatically deleted. |
public void setExpirationDays(Integer expirationDays)
The period in days after which an AppInstanceUser
will be automatically deleted.
expirationDays
- The period in days after which an AppInstanceUser
will be automatically deleted.public Integer getExpirationDays()
The period in days after which an AppInstanceUser
will be automatically deleted.
AppInstanceUser
will be automatically deleted.public ExpirationSettings withExpirationDays(Integer expirationDays)
The period in days after which an AppInstanceUser
will be automatically deleted.
expirationDays
- The period in days after which an AppInstanceUser
will be automatically deleted.public void setExpirationCriterion(String expirationCriterion)
Specifies the conditions under which an AppInstanceUser
will expire.
expirationCriterion
- Specifies the conditions under which an AppInstanceUser
will expire.ExpirationCriterion
public String getExpirationCriterion()
Specifies the conditions under which an AppInstanceUser
will expire.
AppInstanceUser
will expire.ExpirationCriterion
public ExpirationSettings withExpirationCriterion(String expirationCriterion)
Specifies the conditions under which an AppInstanceUser
will expire.
expirationCriterion
- Specifies the conditions under which an AppInstanceUser
will expire.ExpirationCriterion
public ExpirationSettings withExpirationCriterion(ExpirationCriterion expirationCriterion)
Specifies the conditions under which an AppInstanceUser
will expire.
expirationCriterion
- Specifies the conditions under which an AppInstanceUser
will 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.