Class CheckNameAvailabilityParameters
- java.lang.Object
-
- com.azure.resourcemanager.healthcareapis.models.CheckNameAvailabilityParameters
-
public final class CheckNameAvailabilityParameters extends Object
Input values.
-
-
Constructor Summary
Constructors Constructor Description CheckNameAvailabilityParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: The name of the service instance to check.String
type()
Get the type property: The fully qualified resource type which includes provider namespace.void
validate()
Validates the instance.CheckNameAvailabilityParameters
withName(String name)
Set the name property: The name of the service instance to check.CheckNameAvailabilityParameters
withType(String type)
Set the type property: The fully qualified resource type which includes provider namespace.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the service instance to check.- Returns:
- the name value.
-
withName
public CheckNameAvailabilityParameters withName(String name)
Set the name property: The name of the service instance to check.- Parameters:
name
- the name value to set.- Returns:
- the CheckNameAvailabilityParameters object itself.
-
type
public String type()
Get the type property: The fully qualified resource type which includes provider namespace.- Returns:
- the type value.
-
withType
public CheckNameAvailabilityParameters withType(String type)
Set the type property: The fully qualified resource type which includes provider namespace.- Parameters:
type
- the type value to set.- Returns:
- the CheckNameAvailabilityParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-