Class InstanceTypeSchemaResources
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.InstanceTypeSchemaResources
-
public final class InstanceTypeSchemaResources extends Object
Resource requests/limits for this instance type.
-
-
Constructor Summary
Constructors Constructor Description InstanceTypeSchemaResources()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
limits()
Get the limits property: Resource limits for this instance type.Map<String,String>
requests()
Get the requests property: Resource requests for this instance type.void
validate()
Validates the instance.InstanceTypeSchemaResources
withLimits(Map<String,String> limits)
Set the limits property: Resource limits for this instance type.InstanceTypeSchemaResources
withRequests(Map<String,String> requests)
Set the requests property: Resource requests for this instance type.
-
-
-
Method Detail
-
requests
public Map<String,String> requests()
Get the requests property: Resource requests for this instance type.- Returns:
- the requests value.
-
withRequests
public InstanceTypeSchemaResources withRequests(Map<String,String> requests)
Set the requests property: Resource requests for this instance type.- Parameters:
requests
- the requests value to set.- Returns:
- the InstanceTypeSchemaResources object itself.
-
limits
public Map<String,String> limits()
Get the limits property: Resource limits for this instance type.- Returns:
- the limits value.
-
withLimits
public InstanceTypeSchemaResources withLimits(Map<String,String> limits)
Set the limits property: Resource limits for this instance type.- Parameters:
limits
- the limits value to set.- Returns:
- the InstanceTypeSchemaResources object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-