NameIdentifierInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.NameIdentifierInner

Implements

public final class NameIdentifierInner
implements JsonSerializable<NameIdentifierInner>

Identifies an object.

Constructor Summary

Constructor Description
NameIdentifierInner()

Creates an instance of NameIdentifierInner class.

Method Summary

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

Reads an instance of NameIdentifierInner from the JsonReader.

String name()

Get the name property: Name of the object.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NameIdentifierInner withName(String name)

Set the name property: Name of the object.

Methods inherited from java.lang.Object

Constructor Details

NameIdentifierInner

public NameIdentifierInner()

Creates an instance of NameIdentifierInner class.

Method Details

fromJson

public static NameIdentifierInner fromJson(JsonReader jsonReader)

Reads an instance of NameIdentifierInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the object.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withName

public NameIdentifierInner withName(String name)

Set the name property: Name of the object.

Parameters:

name - the name value to set.

Returns:

the NameIdentifierInner object itself.

Applies to