@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceProperties extends Object implements Serializable, Cloneable, StructuredPojo
Source server properties.
Constructor and Description |
---|
SourceProperties() |
Modifier and Type | Method and Description |
---|---|
SourceProperties |
clone() |
boolean |
equals(Object obj) |
List<CPU> |
getCpus()
Source Server CPUs.
|
List<Disk> |
getDisks()
Source Server disks.
|
IdentificationHints |
getIdentificationHints()
Source server identification hints.
|
String |
getLastUpdatedDateTime()
Source server last update date and time.
|
List<NetworkInterface> |
getNetworkInterfaces()
Source server network interfaces.
|
OS |
getOs()
Source server OS.
|
Long |
getRamBytes()
Source server RAM in bytes.
|
String |
getRecommendedInstanceType()
Source server recommended instance type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCpus(Collection<CPU> cpus)
Source Server CPUs.
|
void |
setDisks(Collection<Disk> disks)
Source Server disks.
|
void |
setIdentificationHints(IdentificationHints identificationHints)
Source server identification hints.
|
void |
setLastUpdatedDateTime(String lastUpdatedDateTime)
Source server last update date and time.
|
void |
setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
Source server network interfaces.
|
void |
setOs(OS os)
Source server OS.
|
void |
setRamBytes(Long ramBytes)
Source server RAM in bytes.
|
void |
setRecommendedInstanceType(String recommendedInstanceType)
Source server recommended instance type.
|
String |
toString()
Returns a string representation of this object.
|
SourceProperties |
withCpus(Collection<CPU> cpus)
Source Server CPUs.
|
SourceProperties |
withCpus(CPU... cpus)
Source Server CPUs.
|
SourceProperties |
withDisks(Collection<Disk> disks)
Source Server disks.
|
SourceProperties |
withDisks(Disk... disks)
Source Server disks.
|
SourceProperties |
withIdentificationHints(IdentificationHints identificationHints)
Source server identification hints.
|
SourceProperties |
withLastUpdatedDateTime(String lastUpdatedDateTime)
Source server last update date and time.
|
SourceProperties |
withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
Source server network interfaces.
|
SourceProperties |
withNetworkInterfaces(NetworkInterface... networkInterfaces)
Source server network interfaces.
|
SourceProperties |
withOs(OS os)
Source server OS.
|
SourceProperties |
withRamBytes(Long ramBytes)
Source server RAM in bytes.
|
SourceProperties |
withRecommendedInstanceType(String recommendedInstanceType)
Source server recommended instance type.
|
public void setCpus(Collection<CPU> cpus)
Source Server CPUs.
cpus
- Source Server CPUs.public SourceProperties withCpus(CPU... cpus)
Source Server 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
- Source Server CPUs.public SourceProperties withCpus(Collection<CPU> cpus)
Source Server CPUs.
cpus
- Source Server CPUs.public void setDisks(Collection<Disk> disks)
Source Server disks.
disks
- Source Server disks.public SourceProperties withDisks(Disk... disks)
Source Server 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
- Source Server disks.public SourceProperties withDisks(Collection<Disk> disks)
Source Server disks.
disks
- Source Server disks.public void setIdentificationHints(IdentificationHints identificationHints)
Source server identification hints.
identificationHints
- Source server identification hints.public IdentificationHints getIdentificationHints()
Source server identification hints.
public SourceProperties withIdentificationHints(IdentificationHints identificationHints)
Source server identification hints.
identificationHints
- Source server identification hints.public void setLastUpdatedDateTime(String lastUpdatedDateTime)
Source server last update date and time.
lastUpdatedDateTime
- Source server last update date and time.public String getLastUpdatedDateTime()
Source server last update date and time.
public SourceProperties withLastUpdatedDateTime(String lastUpdatedDateTime)
Source server last update date and time.
lastUpdatedDateTime
- Source server last update date and time.public List<NetworkInterface> getNetworkInterfaces()
Source server network interfaces.
public void setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
Source server network interfaces.
networkInterfaces
- Source server network interfaces.public SourceProperties withNetworkInterfaces(NetworkInterface... networkInterfaces)
Source server 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
- Source server network interfaces.public SourceProperties withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
Source server network interfaces.
networkInterfaces
- Source server network interfaces.public void setOs(OS os)
Source server OS.
os
- Source server OS.public OS getOs()
Source server OS.
public SourceProperties withOs(OS os)
Source server OS.
os
- Source server OS.public void setRamBytes(Long ramBytes)
Source server RAM in bytes.
ramBytes
- Source server RAM in bytes.public Long getRamBytes()
Source server RAM in bytes.
public SourceProperties withRamBytes(Long ramBytes)
Source server RAM in bytes.
ramBytes
- Source server RAM in bytes.public void setRecommendedInstanceType(String recommendedInstanceType)
Source server recommended instance type.
recommendedInstanceType
- Source server recommended instance type.public String getRecommendedInstanceType()
Source server recommended instance type.
public SourceProperties withRecommendedInstanceType(String recommendedInstanceType)
Source server recommended instance type.
recommendedInstanceType
- Source server recommended instance type.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.