CheckNameAvailabilityParameters Class
- java.
lang. Object - com.
azure. resourcemanager. recoveryservices. models. CheckNameAvailabilityParameters
- com.
public final class CheckNameAvailabilityParameters
Resource Name availability input parameters - Resource type and resource name.
Constructor Summary
Constructor | Description |
---|---|
CheckNameAvailabilityParameters() |
Creates an instance of Check |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name property: Resource name for which availability needs to be checked. |
String |
type()
Get the type property: Describes the Resource type: Microsoft. |
void |
validate()
Validates the instance. |
Check |
withName(String name)
Set the name property: Resource name for which availability needs to be checked. |
Check |
withType(String type)
Set the type property: Describes the Resource type: Microsoft. |
Methods inherited from java.lang.Object
Constructor Details
CheckNameAvailabilityParameters
public CheckNameAvailabilityParameters()
Creates an instance of CheckNameAvailabilityParameters class.
Method Details
name
public String name()
Get the name property: Resource name for which availability needs to be checked.
Returns:
type
public String type()
Get the type property: Describes the Resource type: Microsoft.RecoveryServices/Vaults.
Returns:
validate
public void validate()
Validates the instance.
withName
public CheckNameAvailabilityParameters withName(String name)
Set the name property: Resource name for which availability needs to be checked.
Parameters:
Returns:
withType
public CheckNameAvailabilityParameters withType(String type)
Set the type property: Describes the Resource type: Microsoft.RecoveryServices/Vaults.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for