public final class CheckResourceNameResultInner extends Object
| Constructor and Description |
|---|
CheckResourceNameResultInner() |
| 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.
|
public String name()
public CheckResourceNameResultInner withName(String name)
name - the name value to set.public String type()
public CheckResourceNameResultInner withType(String type)
type - the type value to set.public ResourceNameStatus status()
public CheckResourceNameResultInner withStatus(ResourceNameStatus status)
status - the status value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.