Class UpdateInstanceRequest
- java.lang.Object
-
- com.google.cloud.bigtable.admin.v2.models.UpdateInstanceRequest
-
public class UpdateInstanceRequest extends Object
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.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateInstanceRequest
of(String instanceId)
Builds a new request to update an existing instance with the specified id.UpdateInstanceRequest
setAllLabels(Map<String,String> labels)
Replaces the labels associated with the instance.UpdateInstanceRequest
setDisplayName(String displayName)
Changes the display name of the instance.UpdateInstanceRequest
setProductionType()
Upgrades the instance from a DEVELOPMENT instance to a PRODUCTION instance.PartialUpdateInstanceRequest
toProto(String projectId)
Creates the request protobuf.
-
-
-
Method Detail
-
of
public static UpdateInstanceRequest of(@Nonnull String instanceId)
Builds a new request to update an existing instance with the specified id.
-
setDisplayName
public UpdateInstanceRequest setDisplayName(@Nonnull String displayName)
Changes the display name of the instance.
-
setProductionType
public UpdateInstanceRequest setProductionType()
Upgrades the instance from a DEVELOPMENT instance to a PRODUCTION instance. This cannot be undone.
-
setAllLabels
public UpdateInstanceRequest setAllLabels(@Nonnull Map<String,String> labels)
Replaces the labels associated with the instance.- See Also:
- For more details
-
toProto
@InternalApi 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.
-
-