閱讀英文

共用方式為


DataCollectionRuleAssociationProxyOnlyResourceProperties Class

public final class DataCollectionRuleAssociationProxyOnlyResourceProperties
extends DataCollectionRuleAssociation

Resource properties.

Constructor Summary

Constructor Description
DataCollectionRuleAssociationProxyOnlyResourceProperties()

Creates an instance of DataCollectionRuleAssociationProxyOnlyResourceProperties class.

Method Summary

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

Reads an instance of DataCollectionRuleAssociationProxyOnlyResourceProperties from the JsonReader.

DataCollectionRuleAssociationMetadata metadata()

Get the metadata property: Metadata about the resource.

KnownDataCollectionRuleAssociationProvisioningState provisioningState()

Get the provisioningState property: The resource provisioning state.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DataCollectionRuleAssociationProxyOnlyResourceProperties withDataCollectionEndpointId(String dataCollectionEndpointId)

Set the dataCollectionEndpointId property: The resource ID of the data collection endpoint that is to be associated.

DataCollectionRuleAssociationProxyOnlyResourceProperties withDataCollectionRuleId(String dataCollectionRuleId)

Set the dataCollectionRuleId property: The resource ID of the data collection rule that is to be associated.

DataCollectionRuleAssociationProxyOnlyResourceProperties withDescription(String description)

Set the description property: Description of the association.

Methods inherited from DataCollectionRuleAssociation

Methods inherited from java.lang.Object

Constructor Details

DataCollectionRuleAssociationProxyOnlyResourceProperties

public DataCollectionRuleAssociationProxyOnlyResourceProperties()

Creates an instance of DataCollectionRuleAssociationProxyOnlyResourceProperties class.

Method Details

fromJson

public static DataCollectionRuleAssociationProxyOnlyResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of DataCollectionRuleAssociationProxyOnlyResourceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataCollectionRuleAssociationProxyOnlyResourceProperties 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 DataCollectionRuleAssociationProxyOnlyResourceProperties.

metadata

public DataCollectionRuleAssociationMetadata metadata()

Get the metadata property: Metadata about the resource.

Overrides:

DataCollectionRuleAssociationProxyOnlyResourceProperties.metadata()

Returns:

the metadata value.

provisioningState

public KnownDataCollectionRuleAssociationProvisioningState provisioningState()

Get the provisioningState property: The resource provisioning state.

Overrides:

DataCollectionRuleAssociationProxyOnlyResourceProperties.provisioningState()

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DataCollectionRuleAssociationProxyOnlyResourceProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

DataCollectionRuleAssociationProxyOnlyResourceProperties.validate()

withDataCollectionEndpointId

public DataCollectionRuleAssociationProxyOnlyResourceProperties withDataCollectionEndpointId(String dataCollectionEndpointId)

Set the dataCollectionEndpointId property: The resource ID of the data collection endpoint that is to be associated.

Overrides:

DataCollectionRuleAssociationProxyOnlyResourceProperties.withDataCollectionEndpointId(String dataCollectionEndpointId)

Parameters:

dataCollectionEndpointId

withDataCollectionRuleId

public DataCollectionRuleAssociationProxyOnlyResourceProperties withDataCollectionRuleId(String dataCollectionRuleId)

Set the dataCollectionRuleId property: The resource ID of the data collection rule that is to be associated.

Overrides:

DataCollectionRuleAssociationProxyOnlyResourceProperties.withDataCollectionRuleId(String dataCollectionRuleId)

Parameters:

dataCollectionRuleId

withDescription

public DataCollectionRuleAssociationProxyOnlyResourceProperties withDescription(String description)

Set the description property: Description of the association.

Overrides:

DataCollectionRuleAssociationProxyOnlyResourceProperties.withDescription(String description)

Parameters:

description

Applies to

Azure SDK for Java

Latest