Interface Replica.Builder

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

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

    • location

      Replica.Builder location(String location)

      The Amazon Web Services Region where this replica is located.

      Parameters:
      location - The Amazon Web Services Region where this replica is located.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicationStatus

      Replica.Builder replicationStatus(ReplicationStatus replicationStatus)

      A structure that contains information about the replication status of this replica.

      Parameters:
      replicationStatus - A structure that contains information about the replication status of this replica.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicationStatus

      default Replica.Builder replicationStatus(Consumer<ReplicationStatus.Builder> replicationStatus)

      A structure that contains information about the replication status of this replica.

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

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

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

      Replica.Builder canaryState(String canaryState)

      The current state of the canary in this replica location.

      Parameters:
      canaryState - The current state of the canary in this replica location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • canaryState

      Replica.Builder canaryState(CanaryState canaryState)

      The current state of the canary in this replica location.

      Parameters:
      canaryState - The current state of the canary in this replica location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastModified

      Replica.Builder lastModified(Instant lastModified)

      The date and time that the replica was last modified.

      Parameters:
      lastModified - The date and time that the replica was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcConfig

      Replica.Builder vpcConfig(VpcConfigOutput vpcConfig)

      The VPC configuration for the canary replica in this location.

      Parameters:
      vpcConfig - The VPC configuration for the canary replica in this location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcConfig

      default Replica.Builder vpcConfig(Consumer<VpcConfigOutput.Builder> vpcConfig)

      The VPC configuration for the canary replica in this location.

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

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

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