共用方式為


FluidRelayServerUpdate Class

  • java.lang.Object
    • com.azure.resourcemanager.fluidrelay.models.FluidRelayServerUpdate

Implements

public final class FluidRelayServerUpdate
implements JsonSerializable<FluidRelayServerUpdate>

The updatable properties of a Fluid Relay server.

Constructor Summary

Constructor Description
FluidRelayServerUpdate()

Creates an instance of FluidRelayServerUpdate class.

Method Summary

Modifier and Type Method and Description
EncryptionProperties encryption()

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

static FluidRelayServerUpdate fromJson(JsonReader jsonReader)

Reads an instance of FluidRelayServerUpdate from the JsonReader.

Identity identity()

Get the identity property: The type of identity used for the resource.

String location()

Get the location property: The geo-location where the resource lives.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FluidRelayServerUpdate withEncryption(EncryptionProperties encryption)

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

FluidRelayServerUpdate withIdentity(Identity identity)

Set the identity property: The type of identity used for the resource.

FluidRelayServerUpdate withLocation(String location)

Set the location property: The geo-location where the resource lives.

FluidRelayServerUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

FluidRelayServerUpdate

public FluidRelayServerUpdate()

Creates an instance of FluidRelayServerUpdate class.

Method Details

encryption

public EncryptionProperties encryption()

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

Returns:

the encryption value.

fromJson

public static FluidRelayServerUpdate fromJson(JsonReader jsonReader)

Reads an instance of FluidRelayServerUpdate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

identity

public Identity identity()

Get the identity property: The type of identity used for the resource.

Returns:

the identity value.

location

public String location()

Get the location property: The geo-location where the resource lives.

Returns:

the location value.

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEncryption

public FluidRelayServerUpdate withEncryption(EncryptionProperties encryption)

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

Parameters:

encryption - the encryption value to set.

Returns:

the FluidRelayServerUpdate object itself.

withIdentity

public FluidRelayServerUpdate withIdentity(Identity identity)

Set the identity property: The type of identity used for the resource.

Parameters:

identity - the identity value to set.

Returns:

the FluidRelayServerUpdate object itself.

withLocation

public FluidRelayServerUpdate withLocation(String location)

Set the location property: The geo-location where the resource lives.

Parameters:

location - the location value to set.

Returns:

the FluidRelayServerUpdate object itself.

withTags

public FluidRelayServerUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the FluidRelayServerUpdate object itself.

Applies to