Class WorkspaceListResult
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.WorkspaceListResult
-
public final class WorkspaceListResult extends Object
The result of a request to list machine learning workspaces.
-
-
Constructor Summary
Constructors Constructor Description WorkspaceListResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
nextLink()
Get the nextLink property: The URI that can be used to request the next list of machine learning workspaces.void
validate()
Validates the instance.List<WorkspaceInner>
value()
Get the value property: The list of machine learning workspaces.WorkspaceListResult
withNextLink(String nextLink)
Set the nextLink property: The URI that can be used to request the next list of machine learning workspaces.WorkspaceListResult
withValue(List<WorkspaceInner> value)
Set the value property: The list of machine learning workspaces.
-
-
-
Method Detail
-
value
public List<WorkspaceInner> value()
Get the value property: The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces.- Returns:
- the value value.
-
withValue
public WorkspaceListResult withValue(List<WorkspaceInner> value)
Set the value property: The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces.- Parameters:
value
- the value value to set.- Returns:
- the WorkspaceListResult object itself.
-
nextLink
public String nextLink()
Get the nextLink property: The URI that can be used to request the next list of machine learning workspaces.- Returns:
- the nextLink value.
-
withNextLink
public WorkspaceListResult withNextLink(String nextLink)
Set the nextLink property: The URI that can be used to request the next list of machine learning workspaces.- Parameters:
nextLink
- the nextLink value to set.- Returns:
- the WorkspaceListResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-