Class UpdateInstanceRequest (2.39.4)

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
Name Description
instanceId String
Returns
Type Description
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
Name Description
labels Map<String,String>
Returns
Type Description
UpdateInstanceRequest

setDisplayName(String displayName)

public UpdateInstanceRequest setDisplayName(String displayName)

Changes the display name of the instance.

Parameter
Name Description
displayName String
Returns
Type Description
UpdateInstanceRequest

setProductionType()

public UpdateInstanceRequest setProductionType()

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

Returns
Type Description
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
Name Description
projectId String
Returns
Type Description
com.google.bigtable.admin.v2.PartialUpdateInstanceRequest