次の方法で共有


ComponentPurgeBody Class

  • java.lang.Object
    • com.azure.resourcemanager.applicationinsights.models.ComponentPurgeBody

Implements

public final class ComponentPurgeBody
implements JsonSerializable<ComponentPurgeBody>

Describes the body of a purge request for an App Insights component.

Constructor Summary

Constructor Description
ComponentPurgeBody()

Creates an instance of ComponentPurgeBody class.

Method Summary

Modifier and Type Method and Description
List<ComponentPurgeBodyFilters> filters()

Get the filters property: The set of columns and filters (queries) to run over them to purge the resulting data.

static ComponentPurgeBody fromJson(JsonReader jsonReader)

Reads an instance of ComponentPurgeBody from the JsonReader.

String table()

Get the table property: Table from which to purge data.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ComponentPurgeBody withFilters(List<ComponentPurgeBodyFilters> filters)

Set the filters property: The set of columns and filters (queries) to run over them to purge the resulting data.

ComponentPurgeBody withTable(String table)

Set the table property: Table from which to purge data.

Methods inherited from java.lang.Object

Constructor Details

ComponentPurgeBody

public ComponentPurgeBody()

Creates an instance of ComponentPurgeBody class.

Method Details

filters

public List<ComponentPurgeBodyFilters> filters()

Get the filters property: The set of columns and filters (queries) to run over them to purge the resulting data.

Returns:

the filters value.

fromJson

public static ComponentPurgeBody fromJson(JsonReader jsonReader)

Reads an instance of ComponentPurgeBody from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

table

public String table()

Get the table property: Table from which to purge data.

Returns:

the table value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withFilters

public ComponentPurgeBody withFilters(List<ComponentPurgeBodyFilters> filters)

Set the filters property: The set of columns and filters (queries) to run over them to purge the resulting data.

Parameters:

filters - the filters value to set.

Returns:

the ComponentPurgeBody object itself.

withTable

public ComponentPurgeBody withTable(String table)

Set the table property: Table from which to purge data.

Parameters:

table - the table value to set.

Returns:

the ComponentPurgeBody object itself.

Applies to