CheckNameAvailabilityParameters Class
- java.
lang. Object - com.
microsoft. azure. management. batch. CheckNameAvailabilityParameters
- com.
public class CheckNameAvailabilityParameters
Parameters for a check name availability request.
Constructor Summary
Constructor | Description |
---|---|
CheckNameAvailabilityParameters() |
Creates an instance of CheckNameAvailabilityParameters class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name to check for availability. |
String |
type()
Get the resource type. |
Check |
withName(String name)
Set the name to check for availability. |
Check |
withType(String type)
Set the resource type. |
Constructor Details
CheckNameAvailabilityParameters
public CheckNameAvailabilityParameters()
Creates an instance of CheckNameAvailabilityParameters class.
Method Details
name
public String name()
Get the name to check for availability.
Returns:
type
public String type()
Get the resource type.
Returns:
withName
public CheckNameAvailabilityParameters withName(String name)
Set the name to check for availability.
Parameters:
Returns:
withType
public CheckNameAvailabilityParameters withType(String type)
Set the resource type.
Parameters:
Returns:
Applies to
Azure SDK for Java