Class QuotaAvailabilityRequest
- java.lang.Object
-
- com.azure.resourcemanager.netapp.models.QuotaAvailabilityRequest
-
public final class QuotaAvailabilityRequest extends Object
Quota availability request content.
-
-
Constructor Summary
Constructors Constructor Description QuotaAvailabilityRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: Name of the resource to verify.String
resourceGroup()
Get the resourceGroup property: Resource group name.CheckQuotaNameResourceTypes
type()
Get the type property: Resource type used for verification.void
validate()
Validates the instance.QuotaAvailabilityRequest
withName(String name)
Set the name property: Name of the resource to verify.QuotaAvailabilityRequest
withResourceGroup(String resourceGroup)
Set the resourceGroup property: Resource group name.QuotaAvailabilityRequest
withType(CheckQuotaNameResourceTypes type)
Set the type property: Resource type used for verification.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the resource to verify.- Returns:
- the name value.
-
withName
public QuotaAvailabilityRequest withName(String name)
Set the name property: Name of the resource to verify.- Parameters:
name
- the name value to set.- Returns:
- the QuotaAvailabilityRequest object itself.
-
type
public CheckQuotaNameResourceTypes type()
Get the type property: Resource type used for verification.- Returns:
- the type value.
-
withType
public QuotaAvailabilityRequest withType(CheckQuotaNameResourceTypes type)
Set the type property: Resource type used for verification.- Parameters:
type
- the type value to set.- Returns:
- the QuotaAvailabilityRequest object itself.
-
resourceGroup
public String resourceGroup()
Get the resourceGroup property: Resource group name.- Returns:
- the resourceGroup value.
-
withResourceGroup
public QuotaAvailabilityRequest withResourceGroup(String resourceGroup)
Set the resourceGroup property: Resource group name.- Parameters:
resourceGroup
- the resourceGroup value to set.- Returns:
- the QuotaAvailabilityRequest object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-