TmpfsOptions Class

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

Implements

public final class TmpfsOptions
implements JsonSerializable<TmpfsOptions>

Describes the tmpfs options for the container.

Constructor Summary

Constructor Description
TmpfsOptions()

Creates an instance of TmpfsOptions class.

Method Summary

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

Reads an instance of TmpfsOptions from the JsonReader.

Integer size()

Get the size property: Mention the Tmpfs size.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TmpfsOptions withSize(Integer size)

Set the size property: Mention the Tmpfs size.

Methods inherited from java.lang.Object

Constructor Details

TmpfsOptions

public TmpfsOptions()

Creates an instance of TmpfsOptions class.

Method Details

fromJson

public static TmpfsOptions fromJson(JsonReader jsonReader)

Reads an instance of TmpfsOptions from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TmpfsOptions 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 TmpfsOptions.

size

public Integer size()

Get the size property: Mention the Tmpfs size.

Returns:

the size value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withSize

public TmpfsOptions withSize(Integer size)

Set the size property: Mention the Tmpfs size.

Parameters:

size - the size value to set.

Returns:

the TmpfsOptions object itself.

Applies to