CheckResourceNameResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.fluent.models.CheckResourceNameResultInner

Implements

public final class CheckResourceNameResultInner
implements JsonSerializable<CheckResourceNameResultInner>

Resource Name valid if not a reserved word, does not contain a reserved word and does not start with a reserved word.

Method Summary

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

Reads an instance of CheckResourceNameResultInner from the JsonReader.

String name()

Get the name property: Name of Resource.

ResourceNameStatus status()

Get the status property: Is the resource name Allowed or Reserved.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of Resource.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static CheckResourceNameResultInner fromJson(JsonReader jsonReader)

Reads an instance of CheckResourceNameResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of Resource.

Returns:

the name value.

status

public ResourceNameStatus status()

Get the status property: Is the resource name Allowed or Reserved.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of Resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to