SlotSwapStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.SlotSwapStatus

Implements

public final class SlotSwapStatus
implements JsonSerializable<SlotSwapStatus>

The status of the last successful slot swap operation.

Constructor Summary

Constructor Description
SlotSwapStatus()

Creates an instance of SlotSwapStatus class.

Method Summary

Modifier and Type Method and Description
String destinationSlotName()

Get the destinationSlotName property: The destination slot of the last swap operation.

static SlotSwapStatus fromJson(JsonReader jsonReader)

Reads an instance of SlotSwapStatus from the JsonReader.

String sourceSlotName()

Get the sourceSlotName property: The source slot of the last swap operation.

OffsetDateTime timestampUtc()

Get the timestampUtc property: The time the last successful slot swap completed.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

SlotSwapStatus

public SlotSwapStatus()

Creates an instance of SlotSwapStatus class.

Method Details

destinationSlotName

public String destinationSlotName()

Get the destinationSlotName property: The destination slot of the last swap operation.

Returns:

the destinationSlotName value.

fromJson

public static SlotSwapStatus fromJson(JsonReader jsonReader)

Reads an instance of SlotSwapStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SlotSwapStatus 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 SlotSwapStatus.

sourceSlotName

public String sourceSlotName()

Get the sourceSlotName property: The source slot of the last swap operation.

Returns:

the sourceSlotName value.

timestampUtc

public OffsetDateTime timestampUtc()

Get the timestampUtc property: The time the last successful slot swap completed.

Returns:

the timestampUtc value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to