Class DataContainer
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.DataContainer
-
public final class DataContainer extends Object
Information about a container with data for a given resource.
-
-
Constructor Summary
Constructors Constructor Description DataContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.DataContainerwithWorkspace(WorkspaceInfo workspace)Set the workspace property: Log Analytics workspace information.WorkspaceInfoworkspace()Get the workspace property: Log Analytics workspace information.
-
-
-
Method Detail
-
workspace
public WorkspaceInfo workspace()
Get the workspace property: Log Analytics workspace information.- Returns:
- the workspace value.
-
withWorkspace
public DataContainer withWorkspace(WorkspaceInfo workspace)
Set the workspace property: Log Analytics workspace information.- Parameters:
workspace- the workspace value to set.- Returns:
- the DataContainer object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-