AvailableServiceAliasInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.AvailableServiceAliasInner

Implements

public final class AvailableServiceAliasInner
implements JsonSerializable<AvailableServiceAliasInner>

The available service alias.

Method Summary

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

Reads an instance of AvailableServiceAliasInner from the JsonReader.

String id()

Get the id property: The ID of the service alias.

String name()

Get the name property: The name of the service alias.

String resourceName()

Get the resourceName property: The resource name of the service alias.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static AvailableServiceAliasInner fromJson(JsonReader jsonReader)

Reads an instance of AvailableServiceAliasInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AvailableServiceAliasInner 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 AvailableServiceAliasInner.

id

public String id()

Get the id property: The ID of the service alias.

Returns:

the id value.

name

public String name()

Get the name property: The name of the service alias.

Returns:

the name value.

resourceName

public String resourceName()

Get the resourceName property: The resource name of the service alias.

Returns:

the resourceName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to