SwapResourceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. SwapResourceProperties
- com.
Implements
public final class SwapResourceProperties
implements JsonSerializable<SwapResourceProperties>
Swap resource properties.
Constructor Summary
Constructor | Description |
---|---|
SwapResourceProperties() |
Creates an instance of Swap |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Swap |
fromJson(JsonReader jsonReader)
Reads an instance of Swap |
Slot |
slotType()
Get the slot |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Swap |
withSlotType(SlotType slotType)
Set the slot |
Methods inherited from java.lang.Object
Constructor Details
SwapResourceProperties
public SwapResourceProperties()
Creates an instance of SwapResourceProperties class.
Method Details
fromJson
public static SwapResourceProperties fromJson(JsonReader jsonReader)
Reads an instance of SwapResourceProperties from the JsonReader.
Parameters:
Returns:
Throws:
slotType
public SlotType slotType()
Get the slotType property: Specifies slot info on a cloud service.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSlotType
public SwapResourceProperties withSlotType(SlotType slotType)
Set the slotType property: Specifies slot info on a cloud service.
Parameters:
Returns:
Applies to
Azure SDK for Java