Class CheckDomainAvailabilityParameter
- java.lang.Object
-
- com.azure.resourcemanager.cognitiveservices.models.CheckDomainAvailabilityParameter
-
public final class CheckDomainAvailabilityParameter extends Object
Check Domain availability parameter.
-
-
Constructor Summary
Constructors Constructor Description CheckDomainAvailabilityParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
kind()
Get the kind property: The Kind of the resource.String
subdomainName()
Get the subdomainName property: The subdomain name to use.String
type()
Get the type property: The Type of the resource.void
validate()
Validates the instance.CheckDomainAvailabilityParameter
withKind(String kind)
Set the kind property: The Kind of the resource.CheckDomainAvailabilityParameter
withSubdomainName(String subdomainName)
Set the subdomainName property: The subdomain name to use.CheckDomainAvailabilityParameter
withType(String type)
Set the type property: The Type of the resource.
-
-
-
Method Detail
-
subdomainName
public String subdomainName()
Get the subdomainName property: The subdomain name to use.- Returns:
- the subdomainName value.
-
withSubdomainName
public CheckDomainAvailabilityParameter withSubdomainName(String subdomainName)
Set the subdomainName property: The subdomain name to use.- Parameters:
subdomainName
- the subdomainName value to set.- Returns:
- the CheckDomainAvailabilityParameter object itself.
-
type
public String type()
Get the type property: The Type of the resource.- Returns:
- the type value.
-
withType
public CheckDomainAvailabilityParameter withType(String type)
Set the type property: The Type of the resource.- Parameters:
type
- the type value to set.- Returns:
- the CheckDomainAvailabilityParameter object itself.
-
kind
public String kind()
Get the kind property: The Kind of the resource.- Returns:
- the kind value.
-
withKind
public CheckDomainAvailabilityParameter withKind(String kind)
Set the kind property: The Kind of the resource.- Parameters:
kind
- the kind value to set.- Returns:
- the CheckDomainAvailabilityParameter object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-