Partilhar via


DataCollectionRuleMetadata Class

public final class DataCollectionRuleMetadata
extends Metadata

Metadata about the resource.

Constructor Summary

Constructor Description
DataCollectionRuleMetadata()

Creates an instance of DataCollectionRuleMetadata class.

Method Summary

Modifier and Type Method and Description
static DataCollectionRuleMetadata fromJson(JsonReader jsonReader)

Reads an instance of DataCollectionRuleMetadata from the JsonReader.

String provisionedBy()

Get the provisionedBy property: Azure offering managing this resource on-behalf-of customer.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from Metadata

Methods inherited from java.lang.Object

Constructor Details

DataCollectionRuleMetadata

public DataCollectionRuleMetadata()

Creates an instance of DataCollectionRuleMetadata class.

Method Details

fromJson

public static DataCollectionRuleMetadata fromJson(JsonReader jsonReader)

Reads an instance of DataCollectionRuleMetadata from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataCollectionRuleMetadata if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DataCollectionRuleMetadata.

provisionedBy

public String provisionedBy()

Get the provisionedBy property: Azure offering managing this resource on-behalf-of customer.

Overrides:

DataCollectionRuleMetadata.provisionedBy()

Returns:

the provisionedBy value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DataCollectionRuleMetadata.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

DataCollectionRuleMetadata.validate()

Applies to