Class UpdateInstanceRequest (2.34.0)

public class UpdateInstanceRequest

Parameters for updating an existing Bigtable instance.

Existing instances maybe updated to change their superficial appearance (ie. display name) and can also be upgraded from a DEVELOPMENT instance to a PRODUCTION instance. Please note that upgrading to a PRODUCTION instance cannot be undone.

Inheritance

java.lang.Object > UpdateInstanceRequest

Static Methods

of(String instanceId)

public static UpdateInstanceRequest of(String instanceId)

Builds a new request to update an existing instance with the specified id.

Parameter
NameDescription
instanceIdString
Returns
TypeDescription
UpdateInstanceRequest

Methods

setAllLabels(Map<String,String> labels)

public UpdateInstanceRequest setAllLabels(Map<String,String> labels)

Replaces the labels associated with the instance. See Also: For more details

Parameter
NameDescription
labelsMap<String,String>
Returns
TypeDescription
UpdateInstanceRequest

setDisplayName(String displayName)

public UpdateInstanceRequest setDisplayName(String displayName)

Changes the display name of the instance.

Parameter
NameDescription
displayNameString
Returns
TypeDescription
UpdateInstanceRequest

setProductionType()

public UpdateInstanceRequest setProductionType()

Upgrades the instance from a DEVELOPMENT instance to a PRODUCTION instance. This cannot be undone.

Returns
TypeDescription
UpdateInstanceRequest

toProto(String projectId)

public PartialUpdateInstanceRequest toProto(String projectId)

Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications.

Parameter
NameDescription
projectIdString
Returns
TypeDescription
com.google.bigtable.admin.v2.PartialUpdateInstanceRequest