Interface GlobalAuroraConfiguration.Builder

  • Method Details

    • timeoutMinutes

      GlobalAuroraConfiguration.Builder timeoutMinutes(Integer timeoutMinutes)

      The timeout value specified for the configuration.

      Parameters:
      timeoutMinutes - The timeout value specified for the configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • crossAccountRole

      GlobalAuroraConfiguration.Builder crossAccountRole(String crossAccountRole)

      The cross account role for the configuration.

      Parameters:
      crossAccountRole - The cross account role for the configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • externalId

      GlobalAuroraConfiguration.Builder externalId(String externalId)

      The external ID (secret key) for the configuration.

      Parameters:
      externalId - The external ID (secret key) for the configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • behavior

      The behavior for a global database, that is, only allow switchover or also allow failover.

      Parameters:
      behavior - The behavior for a global database, that is, only allow switchover or also allow failover.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • behavior

      The behavior for a global database, that is, only allow switchover or also allow failover.

      Parameters:
      behavior - The behavior for a global database, that is, only allow switchover or also allow failover.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ungraceful

      The settings for ungraceful execution.

      Parameters:
      ungraceful - The settings for ungraceful execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ungraceful

      The settings for ungraceful execution.

      This is a convenience method that creates an instance of the GlobalAuroraUngraceful.Builder avoiding the need to create one manually via GlobalAuroraUngraceful.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ungraceful(GlobalAuroraUngraceful).

      Parameters:
      ungraceful - a consumer that will call methods on GlobalAuroraUngraceful.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • globalClusterIdentifier

      GlobalAuroraConfiguration.Builder globalClusterIdentifier(String globalClusterIdentifier)

      The global cluster identifier for a global database.

      Parameters:
      globalClusterIdentifier - The global cluster identifier for a global database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • databaseClusterArns

      GlobalAuroraConfiguration.Builder databaseClusterArns(Collection<String> databaseClusterArns)

      The database cluster Amazon Resource Names (ARNs) for a global database.

      Parameters:
      databaseClusterArns - The database cluster Amazon Resource Names (ARNs) for a global database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • databaseClusterArns

      GlobalAuroraConfiguration.Builder databaseClusterArns(String... databaseClusterArns)

      The database cluster Amazon Resource Names (ARNs) for a global database.

      Parameters:
      databaseClusterArns - The database cluster Amazon Resource Names (ARNs) for a global database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.