Class VirtualMachineCaptureParameters
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.VirtualMachineCaptureParameters
-
public final class VirtualMachineCaptureParameters extends Object
Capture Virtual Machine parameters.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineCaptureParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdestinationContainerName()Get the destinationContainerName property: The destination container name.booleanoverwriteVhds()Get the overwriteVhds property: Specifies whether to overwrite the destination virtual hard disk, in case of conflict.voidvalidate()Validates the instance.StringvhdPrefix()Get the vhdPrefix property: The captured virtual hard disk's name prefix.VirtualMachineCaptureParameterswithDestinationContainerName(String destinationContainerName)Set the destinationContainerName property: The destination container name.VirtualMachineCaptureParameterswithOverwriteVhds(boolean overwriteVhds)Set the overwriteVhds property: Specifies whether to overwrite the destination virtual hard disk, in case of conflict.VirtualMachineCaptureParameterswithVhdPrefix(String vhdPrefix)Set the vhdPrefix property: The captured virtual hard disk's name prefix.
-
-
-
Method Detail
-
vhdPrefix
public String vhdPrefix()
Get the vhdPrefix property: The captured virtual hard disk's name prefix.- Returns:
- the vhdPrefix value.
-
withVhdPrefix
public VirtualMachineCaptureParameters withVhdPrefix(String vhdPrefix)
Set the vhdPrefix property: The captured virtual hard disk's name prefix.- Parameters:
vhdPrefix- the vhdPrefix value to set.- Returns:
- the VirtualMachineCaptureParameters object itself.
-
destinationContainerName
public String destinationContainerName()
Get the destinationContainerName property: The destination container name.- Returns:
- the destinationContainerName value.
-
withDestinationContainerName
public VirtualMachineCaptureParameters withDestinationContainerName(String destinationContainerName)
Set the destinationContainerName property: The destination container name.- Parameters:
destinationContainerName- the destinationContainerName value to set.- Returns:
- the VirtualMachineCaptureParameters object itself.
-
overwriteVhds
public boolean overwriteVhds()
Get the overwriteVhds property: Specifies whether to overwrite the destination virtual hard disk, in case of conflict.- Returns:
- the overwriteVhds value.
-
withOverwriteVhds
public VirtualMachineCaptureParameters withOverwriteVhds(boolean overwriteVhds)
Set the overwriteVhds property: Specifies whether to overwrite the destination virtual hard disk, in case of conflict.- Parameters:
overwriteVhds- the overwriteVhds value to set.- Returns:
- the VirtualMachineCaptureParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-