public final class CheckNameAvailabilityInput extends Object
| Constructor and Description |
|---|
CheckNameAvailabilityInput()
Creates an instance of CheckNameAvailabilityInput class.
|
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Get the name property: The resource name to validate.
|
String |
type()
Get the type property: The type of the resource whose name is to be validated.
|
void |
validate()
Validates the instance.
|
CheckNameAvailabilityInput |
withName(String name)
Set the name property: The resource name to validate.
|
CheckNameAvailabilityInput |
withType(String type)
Set the type property: The type of the resource whose name is to be validated.
|
public CheckNameAvailabilityInput()
public String name()
public CheckNameAvailabilityInput withName(String name)
name - the name value to set.public String type()
public CheckNameAvailabilityInput withType(String type)
type - the type value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.