BindOptions Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. BindOptions
- com.
Implements
public final class BindOptions
implements JsonSerializable<BindOptions>
Describes the bind options for the container.
Constructor Summary
| Constructor | Description |
|---|---|
| BindOptions() |
Creates an instance of Bind |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
createHostPath()
Get the create |
|
static
Bind |
fromJson(JsonReader jsonReader)
Reads an instance of Bind |
| String |
propagation()
Get the propagation property: Type of Bind Option. |
| String |
selinux()
Get the selinux property: Mention the selinux options. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Bind |
withCreateHostPath(Boolean createHostPath)
Set the create |
|
Bind |
withPropagation(String propagation)
Set the propagation property: Type of Bind Option. |
|
Bind |
withSelinux(String selinux)
Set the selinux property: Mention the selinux options. |
Methods inherited from java.lang.Object
Constructor Details
BindOptions
public BindOptions()
Creates an instance of BindOptions class.
Method Details
createHostPath
public Boolean createHostPath()
Get the createHostPath property: Indicate whether to create host path.
Returns:
fromJson
public static BindOptions fromJson(JsonReader jsonReader)
Reads an instance of BindOptions from the JsonReader.
Parameters:
Returns:
Throws:
propagation
public String propagation()
Get the propagation property: Type of Bind Option.
Returns:
selinux
public String selinux()
Get the selinux property: Mention the selinux options.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCreateHostPath
public BindOptions withCreateHostPath(Boolean createHostPath)
Set the createHostPath property: Indicate whether to create host path.
Parameters:
Returns:
withPropagation
public BindOptions withPropagation(String propagation)
Set the propagation property: Type of Bind Option.
Parameters:
Returns:
withSelinux
public BindOptions withSelinux(String selinux)
Set the selinux property: Mention the selinux options.
Parameters:
Returns: