@Generated(value="software.amazon.awssdk:codegen") public final class SourceProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceProperties.Builder,SourceProperties>
Properties of the Source Server machine.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SourceProperties.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SourceProperties.Builder |
builder() |
List<CPU> |
cpus()
An array of CPUs.
|
List<Disk> |
disks()
An array of disks.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCpus()
For responses, this returns true if the service returned a value for the Cpus property.
|
boolean |
hasDisks()
For responses, this returns true if the service returned a value for the Disks property.
|
int |
hashCode() |
boolean |
hasNetworkInterfaces()
For responses, this returns true if the service returned a value for the NetworkInterfaces property.
|
IdentificationHints |
identificationHints()
Hints used to uniquely identify a machine.
|
String |
lastUpdatedDateTime()
The date and time the Source Properties were last updated on.
|
List<NetworkInterface> |
networkInterfaces()
An array of network interfaces.
|
OS |
os()
Operating system.
|
Long |
ramBytes()
The amount of RAM in bytes.
|
String |
recommendedInstanceType()
The recommended EC2 instance type that will be used when recovering the Source Server.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SourceProperties.Builder> |
serializableBuilderClass() |
Boolean |
supportsNitroInstances()
Are EC2 nitro instance types supported when recovering the Source Server.
|
SourceProperties.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasCpus()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<CPU> cpus()
An array of CPUs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCpus() method.
public final boolean hasDisks()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Disk> disks()
An array of disks.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDisks() method.
public final IdentificationHints identificationHints()
Hints used to uniquely identify a machine.
public final String lastUpdatedDateTime()
The date and time the Source Properties were last updated on.
public final boolean hasNetworkInterfaces()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<NetworkInterface> networkInterfaces()
An array of network interfaces.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasNetworkInterfaces() method.
public final OS os()
Operating system.
public final Long ramBytes()
The amount of RAM in bytes.
public final String recommendedInstanceType()
The recommended EC2 instance type that will be used when recovering the Source Server.
public final Boolean supportsNitroInstances()
Are EC2 nitro instance types supported when recovering the Source Server.
public SourceProperties.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SourceProperties.Builder,SourceProperties>public static SourceProperties.Builder builder()
public static Class<? extends SourceProperties.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.