Docker Class

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

Implements

public final class Docker
implements JsonSerializable<Docker>

Docker container configuration.

Constructor Summary

Constructor Description
Docker()

Creates an instance of Docker class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: Docker container configuration.

static Docker fromJson(JsonReader jsonReader)

Reads an instance of Docker from the JsonReader.

Boolean privileged()

Get the privileged property: Indicate whether container shall run in privileged or non-privileged mode.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Docker withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Docker container configuration.

Docker withPrivileged(Boolean privileged)

Set the privileged property: Indicate whether container shall run in privileged or non-privileged mode.

Methods inherited from java.lang.Object

Constructor Details

Docker

public Docker()

Creates an instance of Docker class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: Docker container configuration.

Returns:

the additionalProperties value.

fromJson

public static Docker fromJson(JsonReader jsonReader)

Reads an instance of Docker from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

privileged

public Boolean privileged()

Get the privileged property: Indicate whether container shall run in privileged or non-privileged mode.

Returns:

the privileged value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public Docker withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Docker container configuration.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the Docker object itself.

withPrivileged

public Docker withPrivileged(Boolean privileged)

Set the privileged property: Indicate whether container shall run in privileged or non-privileged mode.

Parameters:

privileged - the privileged value to set.

Returns:

the Docker object itself.

Applies to