FluidRelayServerUpdateProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.fluidrelay.fluent.models.FluidRelayServerUpdateProperties

Implements

public final class FluidRelayServerUpdateProperties
implements JsonSerializable<FluidRelayServerUpdateProperties>

The properties that can be provided when updating FluidRelayServer resource.

Constructor Summary

Constructor Description
FluidRelayServerUpdateProperties()

Creates an instance of FluidRelayServerUpdateProperties class.

Method Summary

Modifier and Type Method and Description
EncryptionProperties encryption()

Get the encryption property: All encryption configuration for a resource.

static FluidRelayServerUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of FluidRelayServerUpdateProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FluidRelayServerUpdateProperties withEncryption(EncryptionProperties encryption)

Set the encryption property: All encryption configuration for a resource.

Methods inherited from java.lang.Object

Constructor Details

FluidRelayServerUpdateProperties

public FluidRelayServerUpdateProperties()

Creates an instance of FluidRelayServerUpdateProperties class.

Method Details

encryption

public EncryptionProperties encryption()

Get the encryption property: All encryption configuration for a resource.

Returns:

the encryption value.

fromJson

public static FluidRelayServerUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of FluidRelayServerUpdateProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEncryption

public FluidRelayServerUpdateProperties withEncryption(EncryptionProperties encryption)

Set the encryption property: All encryption configuration for a resource.

Parameters:

encryption - the encryption value to set.

Returns:

the FluidRelayServerUpdateProperties object itself.

Applies to