@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecoveryInstanceProperties extends Object implements Serializable, Cloneable, StructuredPojo
Properties of the Recovery Instance machine.
Constructor and Description |
---|
RecoveryInstanceProperties() |
Modifier and Type | Method and Description |
---|---|
RecoveryInstanceProperties |
clone() |
boolean |
equals(Object obj) |
List<CPU> |
getCpus()
An array of CPUs.
|
List<RecoveryInstanceDisk> |
getDisks()
An array of disks.
|
IdentificationHints |
getIdentificationHints()
Hints used to uniquely identify a machine.
|
String |
getLastUpdatedDateTime()
The date and time the Recovery Instance properties were last updated on.
|
List<NetworkInterface> |
getNetworkInterfaces()
An array of network interfaces.
|
OS |
getOs()
Operating system.
|
Long |
getRamBytes()
The amount of RAM in bytes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCpus(Collection<CPU> cpus)
An array of CPUs.
|
void |
setDisks(Collection<RecoveryInstanceDisk> disks)
An array of disks.
|
void |
setIdentificationHints(IdentificationHints identificationHints)
Hints used to uniquely identify a machine.
|
void |
setLastUpdatedDateTime(String lastUpdatedDateTime)
The date and time the Recovery Instance properties were last updated on.
|
void |
setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
An array of network interfaces.
|
void |
setOs(OS os)
Operating system.
|
void |
setRamBytes(Long ramBytes)
The amount of RAM in bytes.
|
String |
toString()
Returns a string representation of this object.
|
RecoveryInstanceProperties |
withCpus(Collection<CPU> cpus)
An array of CPUs.
|
RecoveryInstanceProperties |
withCpus(CPU... cpus)
An array of CPUs.
|
RecoveryInstanceProperties |
withDisks(Collection<RecoveryInstanceDisk> disks)
An array of disks.
|
RecoveryInstanceProperties |
withDisks(RecoveryInstanceDisk... disks)
An array of disks.
|
RecoveryInstanceProperties |
withIdentificationHints(IdentificationHints identificationHints)
Hints used to uniquely identify a machine.
|
RecoveryInstanceProperties |
withLastUpdatedDateTime(String lastUpdatedDateTime)
The date and time the Recovery Instance properties were last updated on.
|
RecoveryInstanceProperties |
withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
An array of network interfaces.
|
RecoveryInstanceProperties |
withNetworkInterfaces(NetworkInterface... networkInterfaces)
An array of network interfaces.
|
RecoveryInstanceProperties |
withOs(OS os)
Operating system.
|
RecoveryInstanceProperties |
withRamBytes(Long ramBytes)
The amount of RAM in bytes.
|
public void setCpus(Collection<CPU> cpus)
An array of CPUs.
cpus
- An array of CPUs.public RecoveryInstanceProperties withCpus(CPU... cpus)
An array of CPUs.
NOTE: This method appends the values to the existing list (if any). Use
setCpus(java.util.Collection)
or withCpus(java.util.Collection)
if you want to override the
existing values.
cpus
- An array of CPUs.public RecoveryInstanceProperties withCpus(Collection<CPU> cpus)
An array of CPUs.
cpus
- An array of CPUs.public List<RecoveryInstanceDisk> getDisks()
An array of disks.
public void setDisks(Collection<RecoveryInstanceDisk> disks)
An array of disks.
disks
- An array of disks.public RecoveryInstanceProperties withDisks(RecoveryInstanceDisk... disks)
An array of disks.
NOTE: This method appends the values to the existing list (if any). Use
setDisks(java.util.Collection)
or withDisks(java.util.Collection)
if you want to override the
existing values.
disks
- An array of disks.public RecoveryInstanceProperties withDisks(Collection<RecoveryInstanceDisk> disks)
An array of disks.
disks
- An array of disks.public void setIdentificationHints(IdentificationHints identificationHints)
Hints used to uniquely identify a machine.
identificationHints
- Hints used to uniquely identify a machine.public IdentificationHints getIdentificationHints()
Hints used to uniquely identify a machine.
public RecoveryInstanceProperties withIdentificationHints(IdentificationHints identificationHints)
Hints used to uniquely identify a machine.
identificationHints
- Hints used to uniquely identify a machine.public void setLastUpdatedDateTime(String lastUpdatedDateTime)
The date and time the Recovery Instance properties were last updated on.
lastUpdatedDateTime
- The date and time the Recovery Instance properties were last updated on.public String getLastUpdatedDateTime()
The date and time the Recovery Instance properties were last updated on.
public RecoveryInstanceProperties withLastUpdatedDateTime(String lastUpdatedDateTime)
The date and time the Recovery Instance properties were last updated on.
lastUpdatedDateTime
- The date and time the Recovery Instance properties were last updated on.public List<NetworkInterface> getNetworkInterfaces()
An array of network interfaces.
public void setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
An array of network interfaces.
networkInterfaces
- An array of network interfaces.public RecoveryInstanceProperties withNetworkInterfaces(NetworkInterface... networkInterfaces)
An array of network interfaces.
NOTE: This method appends the values to the existing list (if any). Use
setNetworkInterfaces(java.util.Collection)
or withNetworkInterfaces(java.util.Collection)
if
you want to override the existing values.
networkInterfaces
- An array of network interfaces.public RecoveryInstanceProperties withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
An array of network interfaces.
networkInterfaces
- An array of network interfaces.public void setOs(OS os)
Operating system.
os
- Operating system.public OS getOs()
Operating system.
public RecoveryInstanceProperties withOs(OS os)
Operating system.
os
- Operating system.public void setRamBytes(Long ramBytes)
The amount of RAM in bytes.
ramBytes
- The amount of RAM in bytes.public Long getRamBytes()
The amount of RAM in bytes.
public RecoveryInstanceProperties withRamBytes(Long ramBytes)
The amount of RAM in bytes.
ramBytes
- The amount of RAM in bytes.public String toString()
toString
in class Object
Object.toString()
public RecoveryInstanceProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.