Class DataCollectionRuleResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.monitor.fluent.models.DataCollectionRuleResourceInner
-
public class DataCollectionRuleResourceInner extends com.azure.core.management.ResourceDefinition of ARM tracked top level resource.
-
-
Constructor Summary
Constructors Constructor Description DataCollectionRuleResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DataFlow>dataFlows()Get the dataFlows property: The specification of data flows.DataCollectionRuleDataSourcesdataSources()Get the dataSources property: The specification of data sources.Stringdescription()Get the description property: Description of the data collection rule.DataCollectionRuleDestinationsdestinations()Get the destinations property: The specification of destinations.Stringetag()Get the etag property: Resource entity tag (ETag).StringimmutableId()Get the immutableId property: The immutable ID of this data collection rule.KnownDataCollectionRuleResourceKindkind()Get the kind property: The kind of the resource.KnownDataCollectionRuleProvisioningStateprovisioningState()Get the provisioningState property: The resource provisioning state.com.azure.core.management.SystemDatasystemData()Get the systemData property: Metadata pertaining to creation and last modification of the resource.voidvalidate()Validates the instance.DataCollectionRuleResourceInnerwithDataFlows(List<DataFlow> dataFlows)Set the dataFlows property: The specification of data flows.DataCollectionRuleResourceInnerwithDataSources(DataCollectionRuleDataSources dataSources)Set the dataSources property: The specification of data sources.DataCollectionRuleResourceInnerwithDescription(String description)Set the description property: Description of the data collection rule.DataCollectionRuleResourceInnerwithDestinations(DataCollectionRuleDestinations destinations)Set the destinations property: The specification of destinations.DataCollectionRuleResourceInnerwithKind(KnownDataCollectionRuleResourceKind kind)Set the kind property: The kind of the resource.DataCollectionRuleResourceInnerwithLocation(String location)DataCollectionRuleResourceInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
kind
public KnownDataCollectionRuleResourceKind kind()
Get the kind property: The kind of the resource.- Returns:
- the kind value.
-
withKind
public DataCollectionRuleResourceInner withKind(KnownDataCollectionRuleResourceKind kind)
Set the kind property: The kind of the resource.- Parameters:
kind- the kind value to set.- Returns:
- the DataCollectionRuleResourceInner object itself.
-
etag
public String etag()
Get the etag property: Resource entity tag (ETag).- Returns:
- the etag value.
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
description
public String description()
Get the description property: Description of the data collection rule.- Returns:
- the description value.
-
withDescription
public DataCollectionRuleResourceInner withDescription(String description)
Set the description property: Description of the data collection rule.- Parameters:
description- the description value to set.- Returns:
- the DataCollectionRuleResourceInner object itself.
-
immutableId
public String immutableId()
Get the immutableId property: The immutable ID of this data collection rule. This property is READ-ONLY.- Returns:
- the immutableId value.
-
dataSources
public DataCollectionRuleDataSources dataSources()
Get the dataSources property: The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.- Returns:
- the dataSources value.
-
withDataSources
public DataCollectionRuleResourceInner withDataSources(DataCollectionRuleDataSources dataSources)
Set the dataSources property: The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.- Parameters:
dataSources- the dataSources value to set.- Returns:
- the DataCollectionRuleResourceInner object itself.
-
destinations
public DataCollectionRuleDestinations destinations()
Get the destinations property: The specification of destinations.- Returns:
- the destinations value.
-
withDestinations
public DataCollectionRuleResourceInner withDestinations(DataCollectionRuleDestinations destinations)
Set the destinations property: The specification of destinations.- Parameters:
destinations- the destinations value to set.- Returns:
- the DataCollectionRuleResourceInner object itself.
-
dataFlows
public List<DataFlow> dataFlows()
Get the dataFlows property: The specification of data flows.- Returns:
- the dataFlows value.
-
withDataFlows
public DataCollectionRuleResourceInner withDataFlows(List<DataFlow> dataFlows)
Set the dataFlows property: The specification of data flows.- Parameters:
dataFlows- the dataFlows value to set.- Returns:
- the DataCollectionRuleResourceInner object itself.
-
provisioningState
public KnownDataCollectionRuleProvisioningState provisioningState()
Get the provisioningState property: The resource provisioning state.- Returns:
- the provisioningState value.
-
withLocation
public DataCollectionRuleResourceInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public DataCollectionRuleResourceInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-