CheckResourceNameResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. resources. fluent. models. CheckResourceNameResultInner
- com.
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.
Constructor Summary
Constructor | Description |
---|---|
CheckResourceNameResultInner() |
Creates an instance of Check |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Check |
fromJson(JsonReader jsonReader)
Reads an instance of Check |
String |
name()
Get the name property: Name of Resource. |
Resource |
status()
Get the status property: Is the resource name Allowed or Reserved. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Type of Resource. |
void |
validate()
Validates the instance. |
Check |
withName(String name)
Set the name property: Name of Resource. |
Check |
withStatus(ResourceNameStatus status)
Set the status property: Is the resource name Allowed or Reserved. |
Check |
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
fromJson
public static CheckResourceNameResultInner fromJson(JsonReader jsonReader)
Reads an instance of CheckResourceNameResultInner from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of Resource.
Returns:
status
public ResourceNameStatus status()
Get the status property: Is the resource name Allowed or Reserved.
Returns:
toJson
type
public String type()
Get the type property: Type of Resource.
Returns:
validate
public void validate()
Validates the instance.
withName
public CheckResourceNameResultInner withName(String name)
Set the name property: Name of Resource.
Parameters:
Returns:
withStatus
public CheckResourceNameResultInner withStatus(ResourceNameStatus status)
Set the status property: Is the resource name Allowed or Reserved.
Parameters:
Returns:
withType
public CheckResourceNameResultInner withType(String type)
Set the type property: Type of Resource.
Parameters:
Returns:
Applies to
Azure SDK for Java