Class Destination
java.lang.Object
com.azure.resourcemanager.loganalytics.fluent.models.Destination
Destination properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the eventHubName property: Optional.Get the resourceId property: The destination resource ID.type()
Get the type property: The type of the destination resource.void
validate()
Validates the instance.withEventHubName
(String eventHubName) Set the eventHubName property: Optional.withResourceId
(String resourceId) Set the resourceId property: The destination resource ID.
-
Constructor Details
-
Destination
public Destination()
-
-
Method Details
-
resourceId
Get the resourceId property: The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure.- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the Destination object itself.
-
type
Get the type property: The type of the destination resource.- Returns:
- the type value.
-
eventHubName
Get the eventHubName property: Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account.- Returns:
- the eventHubName value.
-
withEventHubName
Set the eventHubName property: Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account.- Parameters:
eventHubName
- the eventHubName value to set.- Returns:
- the Destination object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-