Lezen in het Engels

Delen via


AvsClusterDeletedEventData Class

public final class AvsClusterDeletedEventData
extends AvsClusterEventData

Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ClusterDeleted event.

Constructor Summary

Constructor Description
AvsClusterDeletedEventData()

Creates an instance of AvsClusterDeletedEventData class.

Method Summary

Modifier and Type Method and Description
static AvsClusterDeletedEventData fromJson(JsonReader jsonReader)

Reads an instance of AvsClusterDeletedEventData from the JsonReader.

AvsClusterDeletedEventData setAddedHostNames(List<String> addedHostNames)

Set the addedHostNames property: Hosts added to the cluster in this event, if any.

AvsClusterDeletedEventData setInMaintenanceHostNames(List<String> inMaintenanceHostNames)

Set the inMaintenanceHostNames property: Hosts in Maintenance mode in the cluster, if any.

AvsClusterDeletedEventData setOperationId(String operationId)

Set the operationId property: Id of the operation that caused this event.

AvsClusterDeletedEventData setRemovedHostNames(List<String> removedHostNames)

Set the removedHostNames property: Hosts removed to the cluster in this event, if any.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from AvsClusterEventData

Methods inherited from java.lang.Object

Constructor Details

AvsClusterDeletedEventData

public AvsClusterDeletedEventData()

Creates an instance of AvsClusterDeletedEventData class.

Method Details

fromJson

public static AvsClusterDeletedEventData fromJson(JsonReader jsonReader)

Reads an instance of AvsClusterDeletedEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

setAddedHostNames

public AvsClusterDeletedEventData setAddedHostNames(List addedHostNames)

Set the addedHostNames property: Hosts added to the cluster in this event, if any.

Overrides:

AvsClusterDeletedEventData.setAddedHostNames(List<String> addedHostNames)

Parameters:

addedHostNames

setInMaintenanceHostNames

public AvsClusterDeletedEventData setInMaintenanceHostNames(List inMaintenanceHostNames)

Set the inMaintenanceHostNames property: Hosts in Maintenance mode in the cluster, if any.

Overrides:

AvsClusterDeletedEventData.setInMaintenanceHostNames(List<String> inMaintenanceHostNames)

Parameters:

inMaintenanceHostNames

setOperationId

public AvsClusterDeletedEventData setOperationId(String operationId)

Set the operationId property: Id of the operation that caused this event.

Overrides:

AvsClusterDeletedEventData.setOperationId(String operationId)

Parameters:

operationId

setRemovedHostNames

public AvsClusterDeletedEventData setRemovedHostNames(List removedHostNames)

Set the removedHostNames property: Hosts removed to the cluster in this event, if any.

Overrides:

AvsClusterDeletedEventData.setRemovedHostNames(List<String> removedHostNames)

Parameters:

removedHostNames

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AvsClusterDeletedEventData.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to

Azure SDK for Java

Latest