Uses of Class
com.google.cloud.compute.v1.BackendServiceFailoverPolicy.Builder
-
Uses of BackendServiceFailoverPolicy.Builder in com.google.cloud.compute.v1
Methods in com.google.cloud.compute.v1 that return BackendServiceFailoverPolicy.BuilderModifier and TypeMethodDescriptionBackendServiceFailoverPolicy.Builder.clear()BackendServiceFailoverPolicy.Builder.clearDisableConnectionDrainOnFailover()This can be set to true if the protocol isTCP, UDP, or UNSPECIFIED.BackendServiceFailoverPolicy.Builder.clearDropTrafficIfUnhealthy()If set to true, connections to the load balancer are dropped when all primary and all backup backend VMs are unhealthy.If set to false, connections are distributed among all primary VMs when all primary and all backup backend VMs are unhealthy.BackendServiceFailoverPolicy.Builder.clearFailoverRatio()The value of the field must be in the range[0, 1].BackendService.Builder.getFailoverPolicyBuilder()Requires at least one backend instance group to be defined as a backup (failover) backend.BackendServiceFailoverPolicy.Builder.mergeFrom(BackendServiceFailoverPolicy other) BackendServiceFailoverPolicy.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) BackendServiceFailoverPolicy.Builder.mergeFrom(com.google.protobuf.Message other) BackendServiceFailoverPolicy.newBuilder()BackendServiceFailoverPolicy.newBuilder(BackendServiceFailoverPolicy prototype) BackendServiceFailoverPolicy.newBuilderForType()protected BackendServiceFailoverPolicy.BuilderBackendServiceFailoverPolicy.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) BackendServiceFailoverPolicy.Builder.setDisableConnectionDrainOnFailover(boolean value) This can be set to true if the protocol isTCP, UDP, or UNSPECIFIED.BackendServiceFailoverPolicy.Builder.setDropTrafficIfUnhealthy(boolean value) If set to true, connections to the load balancer are dropped when all primary and all backup backend VMs are unhealthy.If set to false, connections are distributed among all primary VMs when all primary and all backup backend VMs are unhealthy.BackendServiceFailoverPolicy.Builder.setFailoverRatio(float value) The value of the field must be in the range[0, 1].BackendServiceFailoverPolicy.toBuilder()Methods in com.google.cloud.compute.v1 with parameters of type BackendServiceFailoverPolicy.BuilderModifier and TypeMethodDescriptionBackendService.Builder.setFailoverPolicy(BackendServiceFailoverPolicy.Builder builderForValue) Requires at least one backend instance group to be defined as a backup (failover) backend.