Class ComputeInstanceEnvironmentInfo
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.ComputeInstanceEnvironmentInfo
-
public final class ComputeInstanceEnvironmentInfo extends Object
Environment information.
-
-
Constructor Summary
Constructors Constructor Description ComputeInstanceEnvironmentInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: name of environment.void
validate()
Validates the instance.String
version()
Get the version property: version of environment.ComputeInstanceEnvironmentInfo
withName(String name)
Set the name property: name of environment.ComputeInstanceEnvironmentInfo
withVersion(String version)
Set the version property: version of environment.
-
-
-
Method Detail
-
name
public String name()
Get the name property: name of environment.- Returns:
- the name value.
-
withName
public ComputeInstanceEnvironmentInfo withName(String name)
Set the name property: name of environment.- Parameters:
name
- the name value to set.- Returns:
- the ComputeInstanceEnvironmentInfo object itself.
-
version
public String version()
Get the version property: version of environment.- Returns:
- the version value.
-
withVersion
public ComputeInstanceEnvironmentInfo withVersion(String version)
Set the version property: version of environment.- Parameters:
version
- the version value to set.- Returns:
- the ComputeInstanceEnvironmentInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-