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 TypeMethodDescriptionbooleaninthashCode()static UpdateAppProfileRequestof(AppProfile appProfile) Builds a new update request using an existing AppProfile.static UpdateAppProfileRequestBuilds 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.setIsolationPolicy(AppProfile.IsolationPolicy isolationPolicy) Sets the isolation policy for all read/write requests that use this app profile.setRoutingPolicy(AppProfile.RoutingPolicy routingPolicy) Sets the routing policy for all read/write requests that use this app profile.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. -
setIsolationPolicy
public UpdateAppProfileRequest setIsolationPolicy(@Nonnull AppProfile.IsolationPolicy isolationPolicy) Sets the isolation 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()
-