public final class VirtualMachineCaptureParameters extends Object
Constructor and Description |
---|
VirtualMachineCaptureParameters() |
Modifier and Type | Method and Description |
---|---|
String |
destinationContainerName()
Get the destinationContainerName property: The destination container name.
|
boolean |
overwriteVhds()
Get the overwriteVhds property: Specifies whether to overwrite the destination virtual hard disk, in case of
conflict.
|
void |
validate()
Validates the instance.
|
String |
vhdPrefix()
Get the vhdPrefix property: The captured virtual hard disk's name prefix.
|
VirtualMachineCaptureParameters |
withDestinationContainerName(String destinationContainerName)
Set the destinationContainerName property: The destination container name.
|
VirtualMachineCaptureParameters |
withOverwriteVhds(boolean overwriteVhds)
Set the overwriteVhds property: Specifies whether to overwrite the destination virtual hard disk, in case of
conflict.
|
VirtualMachineCaptureParameters |
withVhdPrefix(String vhdPrefix)
Set the vhdPrefix property: The captured virtual hard disk's name prefix.
|
public String vhdPrefix()
public VirtualMachineCaptureParameters withVhdPrefix(String vhdPrefix)
vhdPrefix
- the vhdPrefix value to set.public String destinationContainerName()
public VirtualMachineCaptureParameters withDestinationContainerName(String destinationContainerName)
destinationContainerName
- the destinationContainerName value to set.public boolean overwriteVhds()
public VirtualMachineCaptureParameters withOverwriteVhds(boolean overwriteVhds)
overwriteVhds
- the overwriteVhds value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.