Class UpdateAppProfileRequest
java.lang.Object
com.google.cloud.bigtable.admin.v2.models.UpdateAppProfileRequest
Parameters for updating an existing Cloud Bigtable app profile.
Examples
AppProfile existingAppProfile = ...;
UpdateAppProfileRequest appProfileRequest = UpdateAppProfileRequest.of(existingAppProfile)
.setRoutingPolicy(SingleClusterRoutingPolicy.of("my-cluster"));
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
static UpdateAppProfileRequest
of
(AppProfile appProfile) Builds a new update request using an existing AppProfile.static UpdateAppProfileRequest
Builds a new update request using an existing AppProfile.setDescription
(String description) Sets the optional long form description of the use case for the AppProfile.setIgnoreWarnings
(boolean value) Configures if safety warnings should be disabled.setRoutingPolicy
(AppProfile.RoutingPolicy routingPolicy) Sets the routing policy for all read/write requests that use this app profile.com.google.bigtable.admin.v2.UpdateAppProfileRequest
Creates the request protobuf.
-
Method Details
-
of
Builds a new update request using an existing AppProfile.This variant is recommended over
of(String, String)
because it provides optimistic concurrency control using etags. -
of
Builds a new update request using an existing AppProfile. -
setIgnoreWarnings
Configures if safety warnings should be disabled. -
setDescription
Sets the optional long form description of the use case for the AppProfile. -
setRoutingPolicy
Sets the routing policy for all read/write requests that use this app profile. -
toProto
Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications. -
equals
-
hashCode
public int hashCode()
-