CheckResourceNameResultInner Class

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

public final class CheckResourceNameResultInner

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

Constructor Summary

Constructor Description
CheckResourceNameResultInner()

Creates an instance of CheckResourceNameResultInner class.

Method Summary

Modifier and Type Method and Description
String name()

Get the name property: Name of Resource.

ResourceNameStatus status()

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

String type()

Get the type property: Type of Resource.

void validate()

Validates the instance.

CheckResourceNameResultInner withName(String name)

Set the name property: Name of Resource.

CheckResourceNameResultInner withStatus(ResourceNameStatus status)

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

CheckResourceNameResultInner withType(String type)

Set the type property: Type of Resource.

Methods inherited from java.lang.Object

Constructor Details

CheckResourceNameResultInner

public CheckResourceNameResultInner()

Creates an instance of CheckResourceNameResultInner class.

Method Details

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.

type

public String type()

Get the type property: Type of Resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withName

public CheckResourceNameResultInner withName(String name)

Set the name property: Name of Resource.

Parameters:

name - the name value to set.

Returns:

the CheckResourceNameResultInner object itself.

withStatus

public CheckResourceNameResultInner withStatus(ResourceNameStatus status)

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

Parameters:

status - the status value to set.

Returns:

the CheckResourceNameResultInner object itself.

withType

public CheckResourceNameResultInner withType(String type)

Set the type property: Type of Resource.

Parameters:

type - the type value to set.

Returns:

the CheckResourceNameResultInner object itself.

Applies to