@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConversionProperties extends Object implements Serializable, Cloneable, StructuredPojo
Properties of a conversion job
Constructor and Description |
---|
ConversionProperties() |
Modifier and Type | Method and Description |
---|---|
ConversionProperties |
addVolumeToConversionMapEntry(String key,
Map<String,String> value)
Add a single VolumeToConversionMap entry
|
ConversionProperties |
addVolumeToVolumeSizeEntry(String key,
Long value)
Add a single VolumeToVolumeSize entry
|
ConversionProperties |
clearVolumeToConversionMapEntries()
Removes all the entries added into VolumeToConversionMap.
|
ConversionProperties |
clearVolumeToVolumeSizeEntries()
Removes all the entries added into VolumeToVolumeSize.
|
ConversionProperties |
clone() |
boolean |
equals(Object obj) |
String |
getDataTimestamp()
The timestamp of when the snapshot being converted was taken
|
Boolean |
getForceUefi()
Whether the volume being converted uses UEFI or not
|
String |
getRootVolumeName()
The root volume name of a conversion job
|
Map<String,Map<String,String>> |
getVolumeToConversionMap()
A mapping between the volumes being converted and the converted snapshot ids
|
Map<String,Long> |
getVolumeToVolumeSize()
A mapping between the volumes and their sizes
|
int |
hashCode() |
Boolean |
isForceUefi()
Whether the volume being converted uses UEFI or not
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataTimestamp(String dataTimestamp)
The timestamp of when the snapshot being converted was taken
|
void |
setForceUefi(Boolean forceUefi)
Whether the volume being converted uses UEFI or not
|
void |
setRootVolumeName(String rootVolumeName)
The root volume name of a conversion job
|
void |
setVolumeToConversionMap(Map<String,Map<String,String>> volumeToConversionMap)
A mapping between the volumes being converted and the converted snapshot ids
|
void |
setVolumeToVolumeSize(Map<String,Long> volumeToVolumeSize)
A mapping between the volumes and their sizes
|
String |
toString()
Returns a string representation of this object.
|
ConversionProperties |
withDataTimestamp(String dataTimestamp)
The timestamp of when the snapshot being converted was taken
|
ConversionProperties |
withForceUefi(Boolean forceUefi)
Whether the volume being converted uses UEFI or not
|
ConversionProperties |
withRootVolumeName(String rootVolumeName)
The root volume name of a conversion job
|
ConversionProperties |
withVolumeToConversionMap(Map<String,Map<String,String>> volumeToConversionMap)
A mapping between the volumes being converted and the converted snapshot ids
|
ConversionProperties |
withVolumeToVolumeSize(Map<String,Long> volumeToVolumeSize)
A mapping between the volumes and their sizes
|
public void setDataTimestamp(String dataTimestamp)
The timestamp of when the snapshot being converted was taken
dataTimestamp
- The timestamp of when the snapshot being converted was takenpublic String getDataTimestamp()
The timestamp of when the snapshot being converted was taken
public ConversionProperties withDataTimestamp(String dataTimestamp)
The timestamp of when the snapshot being converted was taken
dataTimestamp
- The timestamp of when the snapshot being converted was takenpublic void setForceUefi(Boolean forceUefi)
Whether the volume being converted uses UEFI or not
forceUefi
- Whether the volume being converted uses UEFI or notpublic Boolean getForceUefi()
Whether the volume being converted uses UEFI or not
public ConversionProperties withForceUefi(Boolean forceUefi)
Whether the volume being converted uses UEFI or not
forceUefi
- Whether the volume being converted uses UEFI or notpublic Boolean isForceUefi()
Whether the volume being converted uses UEFI or not
public void setRootVolumeName(String rootVolumeName)
The root volume name of a conversion job
rootVolumeName
- The root volume name of a conversion jobpublic String getRootVolumeName()
The root volume name of a conversion job
public ConversionProperties withRootVolumeName(String rootVolumeName)
The root volume name of a conversion job
rootVolumeName
- The root volume name of a conversion jobpublic Map<String,Map<String,String>> getVolumeToConversionMap()
A mapping between the volumes being converted and the converted snapshot ids
public void setVolumeToConversionMap(Map<String,Map<String,String>> volumeToConversionMap)
A mapping between the volumes being converted and the converted snapshot ids
volumeToConversionMap
- A mapping between the volumes being converted and the converted snapshot idspublic ConversionProperties withVolumeToConversionMap(Map<String,Map<String,String>> volumeToConversionMap)
A mapping between the volumes being converted and the converted snapshot ids
volumeToConversionMap
- A mapping between the volumes being converted and the converted snapshot idspublic ConversionProperties addVolumeToConversionMapEntry(String key, Map<String,String> value)
public ConversionProperties clearVolumeToConversionMapEntries()
public Map<String,Long> getVolumeToVolumeSize()
A mapping between the volumes and their sizes
public void setVolumeToVolumeSize(Map<String,Long> volumeToVolumeSize)
A mapping between the volumes and their sizes
volumeToVolumeSize
- A mapping between the volumes and their sizespublic ConversionProperties withVolumeToVolumeSize(Map<String,Long> volumeToVolumeSize)
A mapping between the volumes and their sizes
volumeToVolumeSize
- A mapping between the volumes and their sizespublic ConversionProperties addVolumeToVolumeSizeEntry(String key, Long value)
public ConversionProperties clearVolumeToVolumeSizeEntries()
public String toString()
toString
in class Object
Object.toString()
public ConversionProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.