EdgeUsageDataEventHub Class
- java.
lang. Object - com.
azure. resourcemanager. mediaservices. models. EdgeUsageDataEventHub
- com.
public final class EdgeUsageDataEventHub
The EdgeUsageDataEventHub model.
Constructor Summary
Constructor | Description |
---|---|
EdgeUsageDataEventHub() |
Creates an instance of Edge |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name property: Name of the Event Hub where usage will be reported. |
String |
namespace()
Get the namespace property: Namespace of the Event Hub where usage will be reported. |
String |
token()
Get the token property: SAS token needed to interact with Event Hub. |
void |
validate()
Validates the instance. |
Edge |
withName(String name)
Set the name property: Name of the Event Hub where usage will be reported. |
Edge |
withNamespace(String namespace)
Set the namespace property: Namespace of the Event Hub where usage will be reported. |
Edge |
withToken(String token)
Set the token property: SAS token needed to interact with Event Hub. |
Methods inherited from java.lang.Object
Constructor Details
EdgeUsageDataEventHub
public EdgeUsageDataEventHub()
Creates an instance of EdgeUsageDataEventHub class.
Method Details
name
public String name()
Get the name property: Name of the Event Hub where usage will be reported.
Returns:
namespace
public String namespace()
Get the namespace property: Namespace of the Event Hub where usage will be reported.
Returns:
token
public String token()
Get the token property: SAS token needed to interact with Event Hub.
Returns:
validate
public void validate()
Validates the instance.
withName
public EdgeUsageDataEventHub withName(String name)
Set the name property: Name of the Event Hub where usage will be reported.
Parameters:
Returns:
withNamespace
public EdgeUsageDataEventHub withNamespace(String namespace)
Set the namespace property: Namespace of the Event Hub where usage will be reported.
Parameters:
Returns:
withToken
public EdgeUsageDataEventHub withToken(String token)
Set the token property: SAS token needed to interact with Event Hub.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for