public class CreationData extends Object
| Constructor and Description |
|---|
CreationData() |
| Modifier and Type | Method and Description |
|---|---|
DiskCreateOption |
createOption()
Get the createOption value.
|
ImageDiskReference |
imageReference()
Get the imageReference value.
|
String |
sourceResourceId()
Get the sourceResourceId value.
|
String |
sourceUri()
Get the sourceUri value.
|
String |
storageAccountId()
Get the storageAccountId value.
|
CreationData |
withCreateOption(DiskCreateOption createOption)
Set the createOption value.
|
CreationData |
withImageReference(ImageDiskReference imageReference)
Set the imageReference value.
|
CreationData |
withSourceResourceId(String sourceResourceId)
Set the sourceResourceId value.
|
CreationData |
withSourceUri(String sourceUri)
Set the sourceUri value.
|
CreationData |
withStorageAccountId(String storageAccountId)
Set the storageAccountId value.
|
public DiskCreateOption createOption()
public CreationData withCreateOption(DiskCreateOption createOption)
createOption - the createOption value to setpublic String storageAccountId()
public CreationData withStorageAccountId(String storageAccountId)
storageAccountId - the storageAccountId value to setpublic ImageDiskReference imageReference()
public CreationData withImageReference(ImageDiskReference imageReference)
imageReference - the imageReference value to setpublic String sourceUri()
public CreationData withSourceUri(String sourceUri)
sourceUri - the sourceUri value to setpublic String sourceResourceId()
public CreationData withSourceResourceId(String sourceResourceId)
sourceResourceId - the sourceResourceId 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.
*/