Partilhar via


EHNamespaceIdContainer Class

  • java.lang.Object
    • com.azure.resourcemanager.eventhubs.models.EHNamespaceIdContainer

Implements

public final class EHNamespaceIdContainer
implements JsonSerializable<EHNamespaceIdContainer>

The full ARM ID of an Event Hubs Namespace.

Constructor Summary

Constructor Description
EHNamespaceIdContainer()

Creates an instance of EHNamespaceIdContainer class.

Method Summary

Modifier and Type Method and Description
static EHNamespaceIdContainer fromJson(JsonReader jsonReader)

Reads an instance of EHNamespaceIdContainer from the JsonReader.

String id()

Get the id property: id parameter.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

EHNamespaceIdContainer withId(String id)

Set the id property: id parameter.

Methods inherited from java.lang.Object

Constructor Details

EHNamespaceIdContainer

public EHNamespaceIdContainer()

Creates an instance of EHNamespaceIdContainer class.

Method Details

fromJson

public static EHNamespaceIdContainer fromJson(JsonReader jsonReader)

Reads an instance of EHNamespaceIdContainer from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of EHNamespaceIdContainer if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the EHNamespaceIdContainer.

id

public String id()

Get the id property: id parameter.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public EHNamespaceIdContainer withId(String id)

Set the id property: id parameter.

Parameters:

id - the id value to set.

Returns:

the EHNamespaceIdContainer object itself.

Applies to