Class DataCollectionRuleAssociationProxyOnlyResourceProperties
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.DataCollectionRuleAssociation
-
- com.azure.resourcemanager.monitor.models.DataCollectionRuleAssociationProxyOnlyResourceProperties
-
public final class DataCollectionRuleAssociationProxyOnlyResourceProperties extends DataCollectionRuleAssociation
Resource properties.
-
-
Constructor Summary
Constructors Constructor Description DataCollectionRuleAssociationProxyOnlyResourceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.DataCollectionRuleAssociationProxyOnlyResourcePropertieswithDataCollectionEndpointId(String dataCollectionEndpointId)Set the dataCollectionEndpointId property: The resource ID of the data collection endpoint that is to be associated.DataCollectionRuleAssociationProxyOnlyResourcePropertieswithDataCollectionRuleId(String dataCollectionRuleId)Set the dataCollectionRuleId property: The resource ID of the data collection rule that is to be associated.DataCollectionRuleAssociationProxyOnlyResourcePropertieswithDescription(String description)Set the description property: Description of the association.-
Methods inherited from class com.azure.resourcemanager.monitor.models.DataCollectionRuleAssociation
dataCollectionEndpointId, dataCollectionRuleId, description, provisioningState
-
-
-
-
Method Detail
-
withDescription
public DataCollectionRuleAssociationProxyOnlyResourceProperties withDescription(String description)
Set the description property: Description of the association.- Overrides:
withDescriptionin classDataCollectionRuleAssociation- Parameters:
description- the description value to set.- Returns:
- the DataCollectionRuleAssociation object itself.
-
withDataCollectionRuleId
public DataCollectionRuleAssociationProxyOnlyResourceProperties withDataCollectionRuleId(String dataCollectionRuleId)
Set the dataCollectionRuleId property: The resource ID of the data collection rule that is to be associated.- Overrides:
withDataCollectionRuleIdin classDataCollectionRuleAssociation- Parameters:
dataCollectionRuleId- the dataCollectionRuleId value to set.- Returns:
- the DataCollectionRuleAssociation object itself.
-
withDataCollectionEndpointId
public DataCollectionRuleAssociationProxyOnlyResourceProperties withDataCollectionEndpointId(String dataCollectionEndpointId)
Set the dataCollectionEndpointId property: The resource ID of the data collection endpoint that is to be associated.- Overrides:
withDataCollectionEndpointIdin classDataCollectionRuleAssociation- Parameters:
dataCollectionEndpointId- the dataCollectionEndpointId value to set.- Returns:
- the DataCollectionRuleAssociation object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classDataCollectionRuleAssociation- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-