/**
* 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.fasterxml.jackson.annotation.JsonProperty;
/**
* Deployment slot parameters.
*/
public class CsmSlotEntityInner {
/**
* Destination deployment slot during swap operation.
*/
@JsonProperty(value = "targetSlot", required = true)
private String targetSlot;
/**
* <code>true</code> to preserve Virtual Network to the slot
* during swap; otherwise, <code>false</code>.
*/
@JsonProperty(value = "preserveVnet", required = true)
private boolean preserveVnet;
/**
* Get the targetSlot value.
*
* @return the targetSlot value
*/
public String targetSlot() {
return this.targetSlot;
}
/**
* Set the targetSlot value.
*
* @param targetSlot the targetSlot value to set
* @return the CsmSlotEntityInner object itself.
*/
public CsmSlotEntityInner withTargetSlot(String targetSlot) {
this.targetSlot = targetSlot;
return this;
}
/**
* Get the preserveVnet value.
*
* @return the preserveVnet value
*/
public boolean preserveVnet() {
return this.preserveVnet;
}
/**
* Set the preserveVnet value.
*
* @param preserveVnet the preserveVnet value to set
* @return the CsmSlotEntityInner object itself.
*/
public CsmSlotEntityInner withPreserveVnet(boolean preserveVnet) {
this.preserveVnet = preserveVnet;
return this;
}
}