共用方式為


SiteCloneabilityCriterion Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.SiteCloneabilityCriterion

Implements

public final class SiteCloneabilityCriterion
implements JsonSerializable<SiteCloneabilityCriterion>

An app cloneability criterion.

Constructor Summary

Constructor Description
SiteCloneabilityCriterion()

Creates an instance of SiteCloneabilityCriterion class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Description of criterion.

static SiteCloneabilityCriterion fromJson(JsonReader jsonReader)

Reads an instance of SiteCloneabilityCriterion from the JsonReader.

String name()

Get the name property: Name of criterion.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SiteCloneabilityCriterion withDescription(String description)

Set the description property: Description of criterion.

SiteCloneabilityCriterion 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:

the description value.

fromJson

public static SiteCloneabilityCriterion fromJson(JsonReader jsonReader)

Reads an instance of SiteCloneabilityCriterion from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SiteCloneabilityCriterion if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SiteCloneabilityCriterion.

name

public String name()

Get the name property: Name of criterion.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDescription

public SiteCloneabilityCriterion withDescription(String description)

Set the description property: Description of criterion.

Parameters:

description - the description value to set.

Returns:

the SiteCloneabilityCriterion object itself.

withName

public SiteCloneabilityCriterion withName(String name)

Set the name property: Name of criterion.

Parameters:

name - the name value to set.

Returns:

the SiteCloneabilityCriterion object itself.

Applies to