Docker Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. Docker
- com.
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 additional |
| static Docker |
fromJson(JsonReader jsonReader)
Reads an instance of Docker from the Json |
| Boolean |
privileged()
Get the privileged property: Indicate whether container shall run in privileged or non-privileged mode. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Docker |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
| 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:
fromJson
public static Docker fromJson(JsonReader jsonReader)
Reads an instance of Docker from the JsonReader.
Parameters:
Returns:
Throws:
privileged
public Boolean privileged()
Get the privileged property: Indicate whether container shall run in privileged or non-privileged mode.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public Docker withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Docker container configuration.
Parameters:
Returns:
withPrivileged
public Docker withPrivileged(Boolean privileged)
Set the privileged property: Indicate whether container shall run in privileged or non-privileged mode.
Parameters:
Returns: