public class SnapshotUpdate extends Object
| Constructor and Description |
|---|
SnapshotUpdate() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
diskSizeGB()
Get if creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create.
|
EncryptionSettings |
encryptionSettings()
Get encryption settings for disk or snapshot.
|
OperatingSystemTypes |
osType()
Get the Operating System type.
|
SnapshotSku |
sku()
Get the sku value.
|
Map<String,String> |
tags()
Get resource tags.
|
SnapshotUpdate |
withDiskSizeGB(Integer diskSizeGB)
Set if creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create.
|
SnapshotUpdate |
withEncryptionSettings(EncryptionSettings encryptionSettings)
Set encryption settings for disk or snapshot.
|
SnapshotUpdate |
withOsType(OperatingSystemTypes osType)
Set the Operating System type.
|
SnapshotUpdate |
withSku(SnapshotSku sku)
Set the sku value.
|
SnapshotUpdate |
withTags(Map<String,String> tags)
Set resource tags.
|
public OperatingSystemTypes osType()
public SnapshotUpdate withOsType(OperatingSystemTypes osType)
osType - the osType value to setpublic Integer diskSizeGB()
public SnapshotUpdate withDiskSizeGB(Integer diskSizeGB)
diskSizeGB - the diskSizeGB value to setpublic EncryptionSettings encryptionSettings()
public SnapshotUpdate withEncryptionSettings(EncryptionSettings encryptionSettings)
encryptionSettings - the encryptionSettings value to setpublic SnapshotUpdate withTags(Map<String,String> tags)
tags - the tags value to setpublic SnapshotSku sku()
public SnapshotUpdate withSku(SnapshotSku sku)
sku - the sku value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/