Interface DocumentDbConfiguration.Builder

  • Method Details

    • timeoutMinutes

      DocumentDbConfiguration.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

      DocumentDbConfiguration.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

      DocumentDbConfiguration.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 cluster, that is, only allow switchover or also allow failover.

      Parameters:
      behavior - The behavior for a global cluster, 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 cluster, that is, only allow switchover or also allow failover.

      Parameters:
      behavior - The behavior for a global cluster, 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 DocumentDbUngraceful.Builder avoiding the need to create one manually via DocumentDbUngraceful.builder().

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

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

      DocumentDbConfiguration.Builder globalClusterIdentifier(String globalClusterIdentifier)

      The global cluster identifier for a DocumentDB global cluster.

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

      DocumentDbConfiguration.Builder databaseClusterArns(Collection<String> databaseClusterArns)

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

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

      DocumentDbConfiguration.Builder databaseClusterArns(String... databaseClusterArns)

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

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