Class DataCollectionEndpointResourceProperties
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.DataCollectionEndpoint
-
- com.azure.resourcemanager.monitor.models.DataCollectionEndpointResourceProperties
-
public final class DataCollectionEndpointResourceProperties extends DataCollectionEndpoint
Resource properties.
-
-
Constructor Summary
Constructors Constructor Description DataCollectionEndpointResourceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.DataCollectionEndpointResourcePropertieswithConfigurationAccess(DataCollectionEndpointConfigurationAccess configurationAccess)Set the configurationAccess property: The endpoint used by agents to access their configuration.DataCollectionEndpointResourcePropertieswithDescription(String description)Set the description property: Description of the data collection endpoint.DataCollectionEndpointResourcePropertieswithImmutableId(String immutableId)Set the immutableId property: The immutable ID of this data collection endpoint resource.DataCollectionEndpointResourcePropertieswithLogsIngestion(DataCollectionEndpointLogsIngestion logsIngestion)Set the logsIngestion property: The endpoint used by clients to ingest logs.DataCollectionEndpointResourcePropertieswithNetworkAcls(DataCollectionEndpointNetworkAcls networkAcls)Set the networkAcls property: Network access control rules for the endpoints.-
Methods inherited from class com.azure.resourcemanager.monitor.models.DataCollectionEndpoint
configurationAccess, description, immutableId, logsIngestion, networkAcls, provisioningState
-
-
-
-
Method Detail
-
withDescription
public DataCollectionEndpointResourceProperties withDescription(String description)
Set the description property: Description of the data collection endpoint.- Overrides:
withDescriptionin classDataCollectionEndpoint- Parameters:
description- the description value to set.- Returns:
- the DataCollectionEndpoint object itself.
-
withImmutableId
public DataCollectionEndpointResourceProperties withImmutableId(String immutableId)
Set the immutableId property: The immutable ID of this data collection endpoint resource. This property is READ-ONLY.- Overrides:
withImmutableIdin classDataCollectionEndpoint- Parameters:
immutableId- the immutableId value to set.- Returns:
- the DataCollectionEndpoint object itself.
-
withConfigurationAccess
public DataCollectionEndpointResourceProperties withConfigurationAccess(DataCollectionEndpointConfigurationAccess configurationAccess)
Set the configurationAccess property: The endpoint used by agents to access their configuration.- Overrides:
withConfigurationAccessin classDataCollectionEndpoint- Parameters:
configurationAccess- the configurationAccess value to set.- Returns:
- the DataCollectionEndpoint object itself.
-
withLogsIngestion
public DataCollectionEndpointResourceProperties withLogsIngestion(DataCollectionEndpointLogsIngestion logsIngestion)
Set the logsIngestion property: The endpoint used by clients to ingest logs.- Overrides:
withLogsIngestionin classDataCollectionEndpoint- Parameters:
logsIngestion- the logsIngestion value to set.- Returns:
- the DataCollectionEndpoint object itself.
-
withNetworkAcls
public DataCollectionEndpointResourceProperties withNetworkAcls(DataCollectionEndpointNetworkAcls networkAcls)
Set the networkAcls property: Network access control rules for the endpoints.- Overrides:
withNetworkAclsin classDataCollectionEndpoint- Parameters:
networkAcls- the networkAcls value to set.- Returns:
- the DataCollectionEndpoint object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classDataCollectionEndpoint- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-