Class EdgeUsageDataEventHub
java.lang.Object
com.azure.resourcemanager.mediaservices.models.EdgeUsageDataEventHub
The EdgeUsageDataEventHub model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: Name of the Event Hub where usage will be reported.Get the namespace property: Namespace of the Event Hub where usage will be reported.token()
Get the token property: SAS token needed to interact with Event Hub.void
validate()
Validates the instance.Set the name property: Name of the Event Hub where usage will be reported.withNamespace
(String namespace) Set the namespace property: Namespace of the Event Hub where usage will be reported.Set the token property: SAS token needed to interact with Event Hub.
-
Constructor Details
-
EdgeUsageDataEventHub
public EdgeUsageDataEventHub()Creates an instance of EdgeUsageDataEventHub class.
-
-
Method Details
-
name
Get the name property: Name of the Event Hub where usage will be reported.- Returns:
- the name value.
-
withName
Set the name property: Name of the Event Hub where usage will be reported.- Parameters:
name
- the name value to set.- Returns:
- the EdgeUsageDataEventHub object itself.
-
namespace
Get the namespace property: Namespace of the Event Hub where usage will be reported.- Returns:
- the namespace value.
-
withNamespace
Set the namespace property: Namespace of the Event Hub where usage will be reported.- Parameters:
namespace
- the namespace value to set.- Returns:
- the EdgeUsageDataEventHub object itself.
-
token
Get the token property: SAS token needed to interact with Event Hub.- Returns:
- the token value.
-
withToken
Set the token property: SAS token needed to interact with Event Hub.- Parameters:
token
- the token value to set.- Returns:
- the EdgeUsageDataEventHub object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-