public final class CheckNameAvailabilityRequest extends Object
Constructor and Description |
---|
CheckNameAvailabilityRequest() |
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name property: Workspace name.
|
String |
type()
Get the type property: Type: workspace.
|
void |
validate()
Validates the instance.
|
CheckNameAvailabilityRequest |
withName(String name)
Set the name property: Workspace name.
|
CheckNameAvailabilityRequest |
withType(String type)
Set the type property: Type: workspace.
|
public String name()
public CheckNameAvailabilityRequest withName(String name)
name
- the name value to set.public String type()
public CheckNameAvailabilityRequest withType(String type)
type
- the type value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.