VolumeOptions Class

  • java.lang.Object
    • com.azure.resourcemanager.machinelearning.models.VolumeOptions

Implements

public final class VolumeOptions
implements JsonSerializable<VolumeOptions>

Describes the volume options for the container.

Constructor Summary

Constructor Description
VolumeOptions()

Creates an instance of VolumeOptions class.

Method Summary

Modifier and Type Method and Description
static VolumeOptions fromJson(JsonReader jsonReader)

Reads an instance of VolumeOptions from the JsonReader.

Boolean nocopy()

Get the nocopy property: Indicate whether volume is nocopy.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VolumeOptions withNocopy(Boolean nocopy)

Set the nocopy property: Indicate whether volume is nocopy.

Methods inherited from java.lang.Object

Constructor Details

VolumeOptions

public VolumeOptions()

Creates an instance of VolumeOptions class.

Method Details

fromJson

public static VolumeOptions fromJson(JsonReader jsonReader)

Reads an instance of VolumeOptions from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VolumeOptions if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the VolumeOptions.

nocopy

public Boolean nocopy()

Get the nocopy property: Indicate whether volume is nocopy.

Returns:

the nocopy value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withNocopy

public VolumeOptions withNocopy(Boolean nocopy)

Set the nocopy property: Indicate whether volume is nocopy.

Parameters:

nocopy - the nocopy value to set.

Returns:

the VolumeOptions object itself.

Applies to