DataContainer Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. DataContainer
- com.
Implements
public final class DataContainer
implements JsonSerializable<DataContainer>
Information about a container with data for a given resource.
Constructor Summary
Constructor | Description |
---|---|
DataContainer() |
Creates an instance of Data |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Data |
withWorkspace(WorkspaceInfo workspace)
Set the workspace property: Log Analytics workspace information. |
Workspace |
workspace()
Get the workspace property: Log Analytics workspace information. |
Methods inherited from java.lang.Object
Constructor Details
DataContainer
public DataContainer()
Creates an instance of DataContainer class.
Method Details
fromJson
public static DataContainer fromJson(JsonReader jsonReader)
Reads an instance of DataContainer from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withWorkspace
public DataContainer withWorkspace(WorkspaceInfo workspace)
Set the workspace property: Log Analytics workspace information.
Parameters:
Returns:
workspace
public WorkspaceInfo workspace()
Get the workspace property: Log Analytics workspace information.
Returns:
Applies to
Azure SDK for Java