Class CheckNameAvailabilityParameters
java.lang.Object
com.azure.resourcemanager.batch.models.CheckNameAvailabilityParameters
Parameters for a check name availability request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CheckNameAvailabilityParameters class. -
Method Summary
-
Constructor Details
-
CheckNameAvailabilityParameters
public CheckNameAvailabilityParameters()Creates an instance of CheckNameAvailabilityParameters class.
-
-
Method Details
-
name
Get the name property: The name to check for availability.- Returns:
- the name value.
-
withName
Set the name property: The name to check for availability.- Parameters:
name
- the name value to set.- Returns:
- the CheckNameAvailabilityParameters object itself.
-
type
Get the type property: The resource type.- Returns:
- the type value.
-
withType
Set the type property: The resource type.- 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.
-