NGroupCGPropertyContainerProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.containerinstance.models.NGroupCGPropertyContainerProperties

Implements

public final class NGroupCGPropertyContainerProperties
implements JsonSerializable<NGroupCGPropertyContainerProperties>

container properties.

Constructor Summary

Constructor Description
NGroupCGPropertyContainerProperties()

Creates an instance of NGroupCGPropertyContainerProperties class.

Method Summary

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

Reads an instance of NGroupCGPropertyContainerProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<VolumeMount> volumeMounts()

Get the volumeMounts property: The volumeMounts property.

NGroupCGPropertyContainerProperties withVolumeMounts(List<VolumeMount> volumeMounts)

Set the volumeMounts property: The volumeMounts property.

Methods inherited from java.lang.Object

Constructor Details

NGroupCGPropertyContainerProperties

public NGroupCGPropertyContainerProperties()

Creates an instance of NGroupCGPropertyContainerProperties class.

Method Details

fromJson

public static NGroupCGPropertyContainerProperties fromJson(JsonReader jsonReader)

Reads an instance of NGroupCGPropertyContainerProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

volumeMounts

public List<VolumeMount> volumeMounts()

Get the volumeMounts property: The volumeMounts property.

Returns:

the volumeMounts value.

withVolumeMounts

public NGroupCGPropertyContainerProperties withVolumeMounts(List<VolumeMount> volumeMounts)

Set the volumeMounts property: The volumeMounts property.

Parameters:

volumeMounts - the volumeMounts value to set.

Returns:

the NGroupCGPropertyContainerProperties object itself.

Applies to