Partager via


SiteCloneabilityInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.SiteCloneabilityInner

Implements

public final class SiteCloneabilityInner
implements JsonSerializable<SiteCloneabilityInner>

Represents whether or not an app is cloneable.

Constructor Summary

Constructor Description
SiteCloneabilityInner()

Creates an instance of SiteCloneabilityInner class.

Method Summary

Modifier and Type Method and Description
List<SiteCloneabilityCriterion> blockingCharacteristics()

Get the blockingCharacteristics property: List of blocking application characteristics.

List<SiteCloneabilityCriterion> blockingFeatures()

Get the blockingFeatures property: List of features enabled on app that prevent cloning.

static SiteCloneabilityInner fromJson(JsonReader jsonReader)

Reads an instance of SiteCloneabilityInner from the JsonReader.

CloneAbilityResult result()

Get the result property: Name of app.

JsonWriter toJson(JsonWriter jsonWriter)
List<SiteCloneabilityCriterion> unsupportedFeatures()

Get the unsupportedFeatures property: List of features enabled on app that are non-blocking but cannot be cloned.

void validate()

Validates the instance.

SiteCloneabilityInner withBlockingCharacteristics(List<SiteCloneabilityCriterion> blockingCharacteristics)

Set the blockingCharacteristics property: List of blocking application characteristics.

SiteCloneabilityInner withBlockingFeatures(List<SiteCloneabilityCriterion> blockingFeatures)

Set the blockingFeatures property: List of features enabled on app that prevent cloning.

SiteCloneabilityInner withResult(CloneAbilityResult result)

Set the result property: Name of app.

SiteCloneabilityInner withUnsupportedFeatures(List<SiteCloneabilityCriterion> unsupportedFeatures)

Set the unsupportedFeatures property: List of features enabled on app that are non-blocking but cannot be cloned.

Methods inherited from java.lang.Object

Constructor Details

SiteCloneabilityInner

public SiteCloneabilityInner()

Creates an instance of SiteCloneabilityInner class.

Method Details

blockingCharacteristics

public List blockingCharacteristics()

Get the blockingCharacteristics property: List of blocking application characteristics.

Returns:

the blockingCharacteristics value.

blockingFeatures

public List blockingFeatures()

Get the blockingFeatures property: List of features enabled on app that prevent cloning.

Returns:

the blockingFeatures value.

fromJson

public static SiteCloneabilityInner fromJson(JsonReader jsonReader)

Reads an instance of SiteCloneabilityInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SiteCloneabilityInner 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 SiteCloneabilityInner.

result

public CloneAbilityResult result()

Get the result property: Name of app.

Returns:

the result value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

unsupportedFeatures

public List unsupportedFeatures()

Get the unsupportedFeatures property: List of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned but the features in this list will not be set up on cloned app.

Returns:

the unsupportedFeatures value.

validate

public void validate()

Validates the instance.

withBlockingCharacteristics

public SiteCloneabilityInner withBlockingCharacteristics(List blockingCharacteristics)

Set the blockingCharacteristics property: List of blocking application characteristics.

Parameters:

blockingCharacteristics - the blockingCharacteristics value to set.

Returns:

the SiteCloneabilityInner object itself.

withBlockingFeatures

public SiteCloneabilityInner withBlockingFeatures(List blockingFeatures)

Set the blockingFeatures property: List of features enabled on app that prevent cloning.

Parameters:

blockingFeatures - the blockingFeatures value to set.

Returns:

the SiteCloneabilityInner object itself.

withResult

public SiteCloneabilityInner withResult(CloneAbilityResult result)

Set the result property: Name of app.

Parameters:

result - the result value to set.

Returns:

the SiteCloneabilityInner object itself.

withUnsupportedFeatures

public SiteCloneabilityInner withUnsupportedFeatures(List unsupportedFeatures)

Set the unsupportedFeatures property: List of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned but the features in this list will not be set up on cloned app.

Parameters:

unsupportedFeatures - the unsupportedFeatures value to set.

Returns:

the SiteCloneabilityInner object itself.

Applies to