Interface ClusterDbRevision.Builder

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

public static interface ClusterDbRevision.Builder extends SdkPojo, CopyableBuilder<ClusterDbRevision.Builder,ClusterDbRevision>
  • Method Details

    • clusterIdentifier

      ClusterDbRevision.Builder clusterIdentifier(String clusterIdentifier)

      The unique identifier of the cluster.

      Parameters:
      clusterIdentifier - The unique identifier of the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentDatabaseRevision

      ClusterDbRevision.Builder currentDatabaseRevision(String currentDatabaseRevision)

      A string representing the current cluster version.

      Parameters:
      currentDatabaseRevision - A string representing the current cluster version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • databaseRevisionReleaseDate

      ClusterDbRevision.Builder databaseRevisionReleaseDate(Instant databaseRevisionReleaseDate)

      The date on which the database revision was released.

      Parameters:
      databaseRevisionReleaseDate - The date on which the database revision was released.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revisionTargets

      ClusterDbRevision.Builder revisionTargets(Collection<RevisionTarget> revisionTargets)

      A list of RevisionTarget objects, where each object describes the database revision that a cluster can be updated to.

      Parameters:
      revisionTargets - A list of RevisionTarget objects, where each object describes the database revision that a cluster can be updated to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revisionTargets

      ClusterDbRevision.Builder revisionTargets(RevisionTarget... revisionTargets)

      A list of RevisionTarget objects, where each object describes the database revision that a cluster can be updated to.

      Parameters:
      revisionTargets - A list of RevisionTarget objects, where each object describes the database revision that a cluster can be updated to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revisionTargets

      ClusterDbRevision.Builder revisionTargets(Consumer<RevisionTarget.Builder>... revisionTargets)

      A list of RevisionTarget objects, where each object describes the database revision that a cluster can be updated to.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to revisionTargets(List<RevisionTarget>).

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