public final class CsmSlotEntity extends Object
| Constructor and Description |
|---|
CsmSlotEntity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
preserveVnet()
Get the preserveVnet property: <code>true</code> to preserve Virtual Network to the slot during swap;
otherwise, <code>false</code>.
|
String |
targetSlot()
Get the targetSlot property: Destination deployment slot during swap operation.
|
void |
validate()
Validates the instance.
|
CsmSlotEntity |
withPreserveVnet(boolean preserveVnet)
Set the preserveVnet property: <code>true</code> to preserve Virtual Network to the slot during swap;
otherwise, <code>false</code>.
|
CsmSlotEntity |
withTargetSlot(String targetSlot)
Set the targetSlot property: Destination deployment slot during swap operation.
|
public String targetSlot()
public CsmSlotEntity withTargetSlot(String targetSlot)
targetSlot - the targetSlot value to set.public boolean preserveVnet()
public CsmSlotEntity withPreserveVnet(boolean preserveVnet)
preserveVnet - the preserveVnet value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.