@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceProperties extends Object implements Serializable, Cloneable, StructuredPojo
Properties of the Source Server machine.
Constructor and Description |
---|
SourceProperties() |
Modifier and Type | Method and Description |
---|---|
SourceProperties |
clone() |
boolean |
equals(Object obj) |
List<CPU> |
getCpus()
An array of CPUs.
|
List<Disk> |
getDisks()
An array of disks.
|
IdentificationHints |
getIdentificationHints()
Hints used to uniquely identify a machine.
|
String |
getLastUpdatedDateTime()
The date and time the Source 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.
|
String |
getRecommendedInstanceType()
The recommended EC2 instance type that will be used when recovering the Source Server.
|
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<Disk> 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 Source 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.
|
void |
setRecommendedInstanceType(String recommendedInstanceType)
The recommended EC2 instance type that will be used when recovering the Source Server.
|
String |
toString()
Returns a string representation of this object.
|
SourceProperties |
withCpus(Collection<CPU> cpus)
An array of CPUs.
|
SourceProperties |
withCpus(CPU... cpus)
An array of CPUs.
|
SourceProperties |
withDisks(Collection<Disk> disks)
An array of disks.
|
SourceProperties |
withDisks(Disk... disks)
An array of disks.
|
SourceProperties |
withIdentificationHints(IdentificationHints identificationHints)
Hints used to uniquely identify a machine.
|
SourceProperties |
withLastUpdatedDateTime(String lastUpdatedDateTime)
The date and time the Source Properties were last updated on.
|
SourceProperties |
withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
An array of network interfaces.
|
SourceProperties |
withNetworkInterfaces(NetworkInterface... networkInterfaces)
An array of network interfaces.
|
SourceProperties |
withOs(OS os)
Operating system.
|
SourceProperties |
withRamBytes(Long ramBytes)
The amount of RAM in bytes.
|
SourceProperties |
withRecommendedInstanceType(String recommendedInstanceType)
The recommended EC2 instance type that will be used when recovering the Source Server.
|
public void setCpus(Collection<CPU> cpus)
An array of CPUs.
cpus
- An array of CPUs.public SourceProperties 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 SourceProperties withCpus(Collection<CPU> cpus)
An array of CPUs.
cpus
- An array of CPUs.public void setDisks(Collection<Disk> disks)
An array of disks.
disks
- An array of disks.public SourceProperties withDisks(Disk... 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 SourceProperties withDisks(Collection<Disk> 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 SourceProperties 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 Source Properties were last updated on.
lastUpdatedDateTime
- The date and time the Source Properties were last updated on.public String getLastUpdatedDateTime()
The date and time the Source Properties were last updated on.
public SourceProperties withLastUpdatedDateTime(String lastUpdatedDateTime)
The date and time the Source Properties were last updated on.
lastUpdatedDateTime
- The date and time the Source 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 SourceProperties 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 SourceProperties 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 SourceProperties 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 SourceProperties withRamBytes(Long ramBytes)
The amount of RAM in bytes.
ramBytes
- The amount of RAM in bytes.public void setRecommendedInstanceType(String recommendedInstanceType)
The recommended EC2 instance type that will be used when recovering the Source Server.
recommendedInstanceType
- The recommended EC2 instance type that will be used when recovering the Source Server.public String getRecommendedInstanceType()
The recommended EC2 instance type that will be used when recovering the Source Server.
public SourceProperties withRecommendedInstanceType(String recommendedInstanceType)
The recommended EC2 instance type that will be used when recovering the Source Server.
recommendedInstanceType
- The recommended EC2 instance type that will be used when recovering the Source Server.public String toString()
toString
in class Object
Object.toString()
public SourceProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.