Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.appservice.implementation; import com.microsoft.azure.management.appservice.CloneAbilityResult; import java.util.List; import com.microsoft.azure.management.appservice.SiteCloneabilityCriterion; import com.fasterxml.jackson.annotation.JsonProperty;
Represents whether or not an app is cloneable.
/** * Represents whether or not an app is cloneable. */
public class SiteCloneabilityInner {
Name of app. Possible values include: 'Cloneable', 'PartiallyCloneable', 'NotCloneable'.
/** * Name of app. Possible values include: 'Cloneable', 'PartiallyCloneable', * 'NotCloneable'. */
@JsonProperty(value = "result") private CloneAbilityResult result;
List of features enabled on app that prevent cloning.
/** * List of features enabled on app that prevent cloning. */
@JsonProperty(value = "blockingFeatures") private List<SiteCloneabilityCriterion> blockingFeatures;
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.
/** * 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. */
@JsonProperty(value = "unsupportedFeatures") private List<SiteCloneabilityCriterion> unsupportedFeatures;
List of blocking application characteristics.
/** * List of blocking application characteristics. */
@JsonProperty(value = "blockingCharacteristics") private List<SiteCloneabilityCriterion> blockingCharacteristics;
Get name of app. Possible values include: 'Cloneable', 'PartiallyCloneable', 'NotCloneable'.
Returns:the result value
/** * Get name of app. Possible values include: 'Cloneable', 'PartiallyCloneable', 'NotCloneable'. * * @return the result value */
public CloneAbilityResult result() { return this.result; }
Set name of app. Possible values include: 'Cloneable', 'PartiallyCloneable', 'NotCloneable'.
Params:
  • result – the result value to set
Returns:the SiteCloneabilityInner object itself.
/** * Set name of app. Possible values include: 'Cloneable', 'PartiallyCloneable', 'NotCloneable'. * * @param result the result value to set * @return the SiteCloneabilityInner object itself. */
public SiteCloneabilityInner withResult(CloneAbilityResult result) { this.result = result; return this; }
Get list of features enabled on app that prevent cloning.
Returns:the blockingFeatures value
/** * Get list of features enabled on app that prevent cloning. * * @return the blockingFeatures value */
public List<SiteCloneabilityCriterion> blockingFeatures() { return this.blockingFeatures; }
Set list of features enabled on app that prevent cloning.
Params:
  • blockingFeatures – the blockingFeatures value to set
Returns:the SiteCloneabilityInner object itself.
/** * Set list of features enabled on app that prevent cloning. * * @param blockingFeatures the blockingFeatures value to set * @return the SiteCloneabilityInner object itself. */
public SiteCloneabilityInner withBlockingFeatures(List<SiteCloneabilityCriterion> blockingFeatures) { this.blockingFeatures = blockingFeatures; return this; }
Get 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
/** * Get 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. * * @return the unsupportedFeatures value */
public List<SiteCloneabilityCriterion> unsupportedFeatures() { return this.unsupportedFeatures; }
Set 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.
Params:
  • unsupportedFeatures – the unsupportedFeatures value to set
Returns:the SiteCloneabilityInner object itself.
/** * Set 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. * * @param unsupportedFeatures the unsupportedFeatures value to set * @return the SiteCloneabilityInner object itself. */
public SiteCloneabilityInner withUnsupportedFeatures(List<SiteCloneabilityCriterion> unsupportedFeatures) { this.unsupportedFeatures = unsupportedFeatures; return this; }
Get list of blocking application characteristics.
Returns:the blockingCharacteristics value
/** * Get list of blocking application characteristics. * * @return the blockingCharacteristics value */
public List<SiteCloneabilityCriterion> blockingCharacteristics() { return this.blockingCharacteristics; }
Set list of blocking application characteristics.
Params:
  • blockingCharacteristics – the blockingCharacteristics value to set
Returns:the SiteCloneabilityInner object itself.
/** * Set list of blocking application characteristics. * * @param blockingCharacteristics the blockingCharacteristics value to set * @return the SiteCloneabilityInner object itself. */
public SiteCloneabilityInner withBlockingCharacteristics(List<SiteCloneabilityCriterion> blockingCharacteristics) { this.blockingCharacteristics = blockingCharacteristics; return this; } }