Class DataCollectionRuleAssociation
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.DataCollectionRuleAssociation
-
- Direct Known Subclasses:
DataCollectionRuleAssociationProxyOnlyResourceProperties
public class DataCollectionRuleAssociation extends Object
Definition of association of a data collection rule with a monitored Azure resource.
-
-
Constructor Summary
Constructors Constructor Description DataCollectionRuleAssociation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdataCollectionEndpointId()Get the dataCollectionEndpointId property: The resource ID of the data collection endpoint that is to be associated.StringdataCollectionRuleId()Get the dataCollectionRuleId property: The resource ID of the data collection rule that is to be associated.Stringdescription()Get the description property: Description of the association.KnownDataCollectionRuleAssociationProvisioningStateprovisioningState()Get the provisioningState property: The resource provisioning state.voidvalidate()Validates the instance.DataCollectionRuleAssociationwithDataCollectionEndpointId(String dataCollectionEndpointId)Set the dataCollectionEndpointId property: The resource ID of the data collection endpoint that is to be associated.DataCollectionRuleAssociationwithDataCollectionRuleId(String dataCollectionRuleId)Set the dataCollectionRuleId property: The resource ID of the data collection rule that is to be associated.DataCollectionRuleAssociationwithDescription(String description)Set the description property: Description of the association.
-
-
-
Method Detail
-
description
public String description()
Get the description property: Description of the association.- Returns:
- the description value.
-
withDescription
public DataCollectionRuleAssociation withDescription(String description)
Set the description property: Description of the association.- Parameters:
description- the description value to set.- Returns:
- the DataCollectionRuleAssociation object itself.
-
dataCollectionRuleId
public String dataCollectionRuleId()
Get the dataCollectionRuleId property: The resource ID of the data collection rule that is to be associated.- Returns:
- the dataCollectionRuleId value.
-
withDataCollectionRuleId
public DataCollectionRuleAssociation withDataCollectionRuleId(String dataCollectionRuleId)
Set the dataCollectionRuleId property: The resource ID of the data collection rule that is to be associated.- Parameters:
dataCollectionRuleId- the dataCollectionRuleId value to set.- Returns:
- the DataCollectionRuleAssociation object itself.
-
dataCollectionEndpointId
public String dataCollectionEndpointId()
Get the dataCollectionEndpointId property: The resource ID of the data collection endpoint that is to be associated.- Returns:
- the dataCollectionEndpointId value.
-
withDataCollectionEndpointId
public DataCollectionRuleAssociation withDataCollectionEndpointId(String dataCollectionEndpointId)
Set the dataCollectionEndpointId property: The resource ID of the data collection endpoint that is to be associated.- Parameters:
dataCollectionEndpointId- the dataCollectionEndpointId value to set.- Returns:
- the DataCollectionRuleAssociation object itself.
-
provisioningState
public KnownDataCollectionRuleAssociationProvisioningState provisioningState()
Get the provisioningState property: The resource provisioning state.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-