Class SiteCloneabilityInner
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.SiteCloneabilityInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SiteCloneabilityInner>
public final class SiteCloneabilityInner
extends Object
implements com.azure.json.JsonSerializable<SiteCloneabilityInner>
Represents whether or not an app is cloneable.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the blockingCharacteristics property: List of blocking application characteristics.Get the blockingFeatures property: List of features enabled on app that prevent cloning.static SiteCloneabilityInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of SiteCloneabilityInner from the JsonReader.result()
Get the result property: Name of app.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Get the unsupportedFeatures property: List of features enabled on app that are non-blocking but cannot be cloned.void
validate()
Validates the instance.withBlockingCharacteristics
(List<SiteCloneabilityCriterion> blockingCharacteristics) Set the blockingCharacteristics property: List of blocking application characteristics.withBlockingFeatures
(List<SiteCloneabilityCriterion> blockingFeatures) Set the blockingFeatures property: List of features enabled on app that prevent cloning.withResult
(CloneAbilityResult result) Set the result property: Name of app.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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SiteCloneabilityInner
public SiteCloneabilityInner()Creates an instance of SiteCloneabilityInner class.
-
-
Method Details
-
result
Get the result property: Name of app.- Returns:
- the result value.
-
withResult
Set the result property: Name of app.- Parameters:
result
- the result value to set.- Returns:
- the SiteCloneabilityInner object itself.
-
blockingFeatures
Get the blockingFeatures property: List of features enabled on app that prevent cloning.- Returns:
- the blockingFeatures value.
-
withBlockingFeatures
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.
-
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.
-
withUnsupportedFeatures
public SiteCloneabilityInner withUnsupportedFeatures(List<SiteCloneabilityCriterion> 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.
-
blockingCharacteristics
Get the blockingCharacteristics property: List of blocking application characteristics.- Returns:
- the blockingCharacteristics value.
-
withBlockingCharacteristics
public SiteCloneabilityInner withBlockingCharacteristics(List<SiteCloneabilityCriterion> blockingCharacteristics) Set the blockingCharacteristics property: List of blocking application characteristics.- Parameters:
blockingCharacteristics
- the blockingCharacteristics value to set.- Returns:
- the SiteCloneabilityInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<SiteCloneabilityInner>
- Throws:
IOException
-
fromJson
public static SiteCloneabilityInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-