Class StaticSiteCustomDomainRequestPropertiesArmResource
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.models.StaticSiteCustomDomainRequestPropertiesArmResource
Static Site Custom Domain Request Properties ARM resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.Get the validationMethod property: Validation method for adding a custom domain.Set the kind property: Kind of resource.withValidationMethod
(String validationMethod) Set the validationMethod property: Validation method for adding a custom domain.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
StaticSiteCustomDomainRequestPropertiesArmResource
public StaticSiteCustomDomainRequestPropertiesArmResource()
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in classProxyOnlyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
validationMethod
Get the validationMethod property: Validation method for adding a custom domain.- Returns:
- the validationMethod value.
-
withValidationMethod
public StaticSiteCustomDomainRequestPropertiesArmResource withValidationMethod(String validationMethod) Set the validationMethod property: Validation method for adding a custom domain.- Parameters:
validationMethod
- the validationMethod value to set.- Returns:
- the StaticSiteCustomDomainRequestPropertiesArmResource object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-