Interface FailoverType.Builder

All Superinterfaces:
Buildable, CopyableBuilder<FailoverType.Builder,FailoverType>, SdkBuilder<FailoverType.Builder,FailoverType>, SdkPojo
Enclosing class:
FailoverType

@Mutable @NotThreadSafe public static interface FailoverType.Builder extends SdkPojo, CopyableBuilder<FailoverType.Builder,FailoverType>
  • Method Details

    • secondaryRegion

      FailoverType.Builder secondaryRegion(String secondaryRegion)

      The secondary Amazon Web Services Region to use for failover when the primary region becomes unavailable.

      Parameters:
      secondaryRegion - The secondary Amazon Web Services Region to use for failover when the primary region becomes unavailable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • primaryRoute53HealthCheckId

      FailoverType.Builder primaryRoute53HealthCheckId(String primaryRoute53HealthCheckId)

      The ID of the Amazon Web Services Route53 healthcheck that controls routing. If the healthcheck is healthy, traffic will be routed to the primary replica, and if the healthcheck is unhealthy, traffic will be routed to the secondary region.

      Parameters:
      primaryRoute53HealthCheckId - The ID of the Amazon Web Services Route53 healthcheck that controls routing. If the healthcheck is healthy, traffic will be routed to the primary replica, and if the healthcheck is unhealthy, traffic will be routed to the secondary region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.