@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeToLiveSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Represents the settings used to enable or disable Time to Live for the specified table.
Constructor and Description |
---|
TimeToLiveSpecification() |
Modifier and Type | Method and Description |
---|---|
TimeToLiveSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the Time to Live attribute used to store the expiration time for items in the table.
|
Boolean |
getEnabled()
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeName(String attributeName)
The name of the Time to Live attribute used to store the expiration time for items in the table.
|
void |
setEnabled(Boolean enabled)
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TimeToLiveSpecification |
withAttributeName(String attributeName)
The name of the Time to Live attribute used to store the expiration time for items in the table.
|
TimeToLiveSpecification |
withEnabled(Boolean enabled)
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
|
public void setEnabled(Boolean enabled)
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
enabled
- Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.public Boolean getEnabled()
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
public TimeToLiveSpecification withEnabled(Boolean enabled)
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
enabled
- Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.public Boolean isEnabled()
Indicates whether Time To Live is to be enabled (true) or disabled (false) on the table.
public void setAttributeName(String attributeName)
The name of the Time to Live attribute used to store the expiration time for items in the table.
attributeName
- The name of the Time to Live attribute used to store the expiration time for items in the table.public String getAttributeName()
The name of the Time to Live attribute used to store the expiration time for items in the table.
public TimeToLiveSpecification withAttributeName(String attributeName)
The name of the Time to Live attribute used to store the expiration time for items in the table.
attributeName
- The name of the Time to Live attribute used to store the expiration time for items in the table.public String toString()
toString
in class Object
Object.toString()
public TimeToLiveSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.