Class EnrichmentProperties
java.lang.Object
com.azure.resourcemanager.iothub.models.EnrichmentProperties
The properties of an enrichment that your IoT hub applies to messages delivered to endpoints.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the endpointNames property: The list of endpoints for which the enrichment is applied to the message.key()
Get the key property: The key or name for the enrichment property.void
validate()
Validates the instance.value()
Get the value property: The value for the enrichment property.withEndpointNames
(List<String> endpointNames) Set the endpointNames property: The list of endpoints for which the enrichment is applied to the message.Set the key property: The key or name for the enrichment property.Set the value property: The value for the enrichment property.
-
Constructor Details
-
EnrichmentProperties
public EnrichmentProperties()
-
-
Method Details
-
key
Get the key property: The key or name for the enrichment property.- Returns:
- the key value.
-
withKey
Set the key property: The key or name for the enrichment property.- Parameters:
key
- the key value to set.- Returns:
- the EnrichmentProperties object itself.
-
value
Get the value property: The value for the enrichment property.- Returns:
- the value value.
-
withValue
Set the value property: The value for the enrichment property.- Parameters:
value
- the value value to set.- Returns:
- the EnrichmentProperties object itself.
-
endpointNames
Get the endpointNames property: The list of endpoints for which the enrichment is applied to the message.- Returns:
- the endpointNames value.
-
withEndpointNames
Set the endpointNames property: The list of endpoints for which the enrichment is applied to the message.- Parameters:
endpointNames
- the endpointNames value to set.- Returns:
- the EnrichmentProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-