EdgeUsageDataEventHub Class

  • java.lang.Object
    • com.azure.resourcemanager.mediaservices.models.EdgeUsageDataEventHub

public final class EdgeUsageDataEventHub

The EdgeUsageDataEventHub model.

Constructor Summary

Constructor Description
EdgeUsageDataEventHub()

Creates an instance of EdgeUsageDataEventHub class.

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.

EdgeUsageDataEventHub withName(String name)

Set the name property: Name of the Event Hub where usage will be reported.

EdgeUsageDataEventHub withNamespace(String namespace)

Set the namespace property: Namespace of the Event Hub where usage will be reported.

EdgeUsageDataEventHub 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:

the name value.

namespace

public String namespace()

Get the namespace property: Namespace of the Event Hub where usage will be reported.

Returns:

the namespace value.

token

public String token()

Get the token property: SAS token needed to interact with Event Hub.

Returns:

the token value.

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:

name - the name value to set.

Returns:

the EdgeUsageDataEventHub object itself.

withNamespace

public EdgeUsageDataEventHub withNamespace(String namespace)

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.

withToken

public EdgeUsageDataEventHub withToken(String token)

Set the token property: SAS token needed to interact with Event Hub.

Parameters:

token - the token value to set.

Returns:

the EdgeUsageDataEventHub object itself.

Applies to