Destination Class
- java.
lang. Object - com.
azure. resourcemanager. loganalytics. fluent. models. Destination
- com.
Implements
public final class Destination
implements JsonSerializable<Destination>
Destination properties.
Constructor Summary
| Constructor | Description |
|---|---|
| Destination() |
Creates an instance of Destination class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
eventHubName()
Get the event |
| static Destination |
fromJson(JsonReader jsonReader)
Reads an instance of Destination from the Json |
| String |
resourceId()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| Type |
type()
Get the type property: The type of the destination resource. |
| void |
validate()
Validates the instance. |
| Destination |
withEventHubName(String eventHubName)
Set the event |
| Destination |
withResourceId(String resourceId)
Set the resource |
Methods inherited from java.lang.Object
Constructor Details
Destination
public Destination()
Creates an instance of Destination class.
Method Details
eventHubName
public String eventHubName()
Get the eventHubName property: Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account.
Returns:
fromJson
public static Destination fromJson(JsonReader jsonReader)
Reads an instance of Destination from the JsonReader.
Parameters:
Returns:
Throws:
resourceId
public String resourceId()
Get the resourceId property: The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure.
Returns:
toJson
type
public Type type()
Get the type property: The type of the destination resource.
Returns:
validate
public void validate()
Validates the instance.
withEventHubName
public Destination withEventHubName(String eventHubName)
Set the eventHubName property: Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account.
Parameters:
Returns:
withResourceId
public Destination withResourceId(String resourceId)
Set the resourceId property: The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure.
Parameters:
Returns: