@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ColdStorageOptions extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the configuration for cold storage options such as enabled
Constructor and Description |
---|
ColdStorageOptions() |
Modifier and Type | Method and Description |
---|---|
ColdStorageOptions |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Enable cold storage option.
|
int |
hashCode() |
Boolean |
isEnabled()
Enable cold storage option.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
Enable cold storage option.
|
String |
toString()
Returns a string representation of this object.
|
ColdStorageOptions |
withEnabled(Boolean enabled)
Enable cold storage option.
|
public void setEnabled(Boolean enabled)
Enable cold storage option. Accepted values true or false
enabled
- Enable cold storage option. Accepted values true or falsepublic Boolean getEnabled()
Enable cold storage option. Accepted values true or false
public ColdStorageOptions withEnabled(Boolean enabled)
Enable cold storage option. Accepted values true or false
enabled
- Enable cold storage option. Accepted values true or falsepublic Boolean isEnabled()
Enable cold storage option. Accepted values true or false
public String toString()
toString
in class Object
Object.toString()
public ColdStorageOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.