SiteCloneabilityCriterion Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. SiteCloneabilityCriterion
- com.
Implements
public final class SiteCloneabilityCriterion
implements JsonSerializable<SiteCloneabilityCriterion>
An app cloneability criterion.
Constructor Summary
Constructor | Description |
---|---|
SiteCloneabilityCriterion() |
Creates an instance of Site |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: Description of criterion. |
static
Site |
fromJson(JsonReader jsonReader)
Reads an instance of Site |
String |
name()
Get the name property: Name of criterion. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Site |
withDescription(String description)
Set the description property: Description of criterion. |
Site |
withName(String name)
Set the name property: Name of criterion. |
Methods inherited from java.lang.Object
Constructor Details
SiteCloneabilityCriterion
public SiteCloneabilityCriterion()
Creates an instance of SiteCloneabilityCriterion class.
Method Details
description
public String description()
Get the description property: Description of criterion.
Returns:
fromJson
public static SiteCloneabilityCriterion fromJson(JsonReader jsonReader)
Reads an instance of SiteCloneabilityCriterion from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of criterion.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public SiteCloneabilityCriterion withDescription(String description)
Set the description property: Description of criterion.
Parameters:
Returns:
withName
public SiteCloneabilityCriterion withName(String name)
Set the name property: Name of criterion.
Parameters:
Returns: