/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.drs.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Properties of a conversion job *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ConversionProperties implements Serializable, Cloneable, StructuredPojo { /** ** The timestamp of when the snapshot being converted was taken *
*/ private String dataTimestamp; /** ** Whether the volume being converted uses UEFI or not *
*/ private Boolean forceUefi; /** ** The root volume name of a conversion job *
*/ private String rootVolumeName; /** ** A mapping between the volumes being converted and the converted snapshot ids *
*/ private java.util.Map* A mapping between the volumes and their sizes *
*/ private java.util.Map* The timestamp of when the snapshot being converted was taken *
* * @param dataTimestamp * The timestamp of when the snapshot being converted was taken */ public void setDataTimestamp(String dataTimestamp) { this.dataTimestamp = dataTimestamp; } /** ** The timestamp of when the snapshot being converted was taken *
* * @return The timestamp of when the snapshot being converted was taken */ public String getDataTimestamp() { return this.dataTimestamp; } /** ** The timestamp of when the snapshot being converted was taken *
* * @param dataTimestamp * The timestamp of when the snapshot being converted was taken * @return Returns a reference to this object so that method calls can be chained together. */ public ConversionProperties withDataTimestamp(String dataTimestamp) { setDataTimestamp(dataTimestamp); return this; } /** ** Whether the volume being converted uses UEFI or not *
* * @param forceUefi * Whether the volume being converted uses UEFI or not */ public void setForceUefi(Boolean forceUefi) { this.forceUefi = forceUefi; } /** ** Whether the volume being converted uses UEFI or not *
* * @return Whether the volume being converted uses UEFI or not */ public Boolean getForceUefi() { return this.forceUefi; } /** ** Whether the volume being converted uses UEFI or not *
* * @param forceUefi * Whether the volume being converted uses UEFI or not * @return Returns a reference to this object so that method calls can be chained together. */ public ConversionProperties withForceUefi(Boolean forceUefi) { setForceUefi(forceUefi); return this; } /** ** Whether the volume being converted uses UEFI or not *
* * @return Whether the volume being converted uses UEFI or not */ public Boolean isForceUefi() { return this.forceUefi; } /** ** The root volume name of a conversion job *
* * @param rootVolumeName * The root volume name of a conversion job */ public void setRootVolumeName(String rootVolumeName) { this.rootVolumeName = rootVolumeName; } /** ** The root volume name of a conversion job *
* * @return The root volume name of a conversion job */ public String getRootVolumeName() { return this.rootVolumeName; } /** ** The root volume name of a conversion job *
* * @param rootVolumeName * The root volume name of a conversion job * @return Returns a reference to this object so that method calls can be chained together. */ public ConversionProperties withRootVolumeName(String rootVolumeName) { setRootVolumeName(rootVolumeName); return this; } /** ** A mapping between the volumes being converted and the converted snapshot ids *
* * @return A mapping between the volumes being converted and the converted snapshot ids */ public java.util.Map* A mapping between the volumes being converted and the converted snapshot ids *
* * @param volumeToConversionMap * A mapping between the volumes being converted and the converted snapshot ids */ public void setVolumeToConversionMap(java.util.Map* A mapping between the volumes being converted and the converted snapshot ids *
* * @param volumeToConversionMap * A mapping between the volumes being converted and the converted snapshot ids * @return Returns a reference to this object so that method calls can be chained together. */ public ConversionProperties withVolumeToConversionMap(java.util.Map* A mapping between the volumes and their sizes *
* * @return A mapping between the volumes and their sizes */ public java.util.Map* A mapping between the volumes and their sizes *
* * @param volumeToVolumeSize * A mapping between the volumes and their sizes */ public void setVolumeToVolumeSize(java.util.Map* A mapping between the volumes and their sizes *
* * @param volumeToVolumeSize * A mapping between the volumes and their sizes * @return Returns a reference to this object so that method calls can be chained together. */ public ConversionProperties withVolumeToVolumeSize(java.util.Map