Class SiteCloneabilityCriterion
java.lang.Object
com.azure.resourcemanager.appservice.models.SiteCloneabilityCriterion
An app cloneability criterion.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SiteCloneabilityCriterion class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of criterion.name()Get the name property: Name of criterion.voidvalidate()Validates the instance.withDescription(String description) Set the description property: Description of criterion.Set the name property: Name of criterion.
-
Constructor Details
-
SiteCloneabilityCriterion
public SiteCloneabilityCriterion()Creates an instance of SiteCloneabilityCriterion class.
-
-
Method Details
-
name
Get the name property: Name of criterion.- Returns:
- the name value.
-
withName
Set the name property: Name of criterion.- Parameters:
name- the name value to set.- Returns:
- the SiteCloneabilityCriterion object itself.
-
description
Get the description property: Description of criterion.- Returns:
- the description value.
-
withDescription
Set the description property: Description of criterion.- Parameters:
description- the description value to set.- Returns:
- the SiteCloneabilityCriterion object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-