Partager via


UpdateDomainInner Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.fluent.models.UpdateDomainInner

Implements

public final class UpdateDomainInner
implements JsonSerializable<UpdateDomainInner>

Defines an update domain for the cloud service.

Constructor Summary

Constructor Description
UpdateDomainInner()

Creates an instance of UpdateDomainInner class.

Method Summary

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

Reads an instance of UpdateDomainInner from the JsonReader.

String id()

Get the id property: Resource Id.

String name()

Get the name property: Resource Name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

UpdateDomainInner

public UpdateDomainInner()

Creates an instance of UpdateDomainInner class.

Method Details

fromJson

public static UpdateDomainInner fromJson(JsonReader jsonReader)

Reads an instance of UpdateDomainInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Resource Id.

Returns:

the id value.

name

public String name()

Get the name property: Resource Name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to