Interface VolumeFailoverInfo.Builder

  • Method Details

    • volumeId

      VolumeFailoverInfo.Builder volumeId(String volumeId)

      The ID of the volume.

      Parameters:
      volumeId - The ID of the volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceActiveAvailabilityZone

      VolumeFailoverInfo.Builder sourceActiveAvailabilityZone(String sourceActiveAvailabilityZone)

      The name of the Availability Zone that was active before the failover.

      Parameters:
      sourceActiveAvailabilityZone - The name of the Availability Zone that was active before the failover.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceActiveAvailabilityZoneId

      VolumeFailoverInfo.Builder sourceActiveAvailabilityZoneId(String sourceActiveAvailabilityZoneId)

      The ID of the Availability Zone that was active before the failover.

      Parameters:
      sourceActiveAvailabilityZoneId - The ID of the Availability Zone that was active before the failover.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceStandbyAvailabilityZones

      VolumeFailoverInfo.Builder sourceStandbyAvailabilityZones(Collection<FailoverAvailabilityZone> sourceStandbyAvailabilityZones)

      The Availability Zone that was standby before the failover. Each entry includes the Availability Zone name and ID.

      Parameters:
      sourceStandbyAvailabilityZones - The Availability Zone that was standby before the failover. Each entry includes the Availability Zone name and ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceStandbyAvailabilityZones

      VolumeFailoverInfo.Builder sourceStandbyAvailabilityZones(FailoverAvailabilityZone... sourceStandbyAvailabilityZones)

      The Availability Zone that was standby before the failover. Each entry includes the Availability Zone name and ID.

      Parameters:
      sourceStandbyAvailabilityZones - The Availability Zone that was standby before the failover. Each entry includes the Availability Zone name and ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceStandbyAvailabilityZones

      VolumeFailoverInfo.Builder sourceStandbyAvailabilityZones(Consumer<FailoverAvailabilityZone.Builder>... sourceStandbyAvailabilityZones)

      The Availability Zone that was standby before the failover. Each entry includes the Availability Zone name and ID.

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

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

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

      VolumeFailoverInfo.Builder targetActiveAvailabilityZone(String targetActiveAvailabilityZone)

      The name of the Availability Zone that will become active after the failover.

      Parameters:
      targetActiveAvailabilityZone - The name of the Availability Zone that will become active after the failover.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetActiveAvailabilityZoneId

      VolumeFailoverInfo.Builder targetActiveAvailabilityZoneId(String targetActiveAvailabilityZoneId)

      The ID of the Availability Zone that will become active after the failover.

      Parameters:
      targetActiveAvailabilityZoneId - The ID of the Availability Zone that will become active after the failover.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetStandbyAvailabilityZones

      VolumeFailoverInfo.Builder targetStandbyAvailabilityZones(Collection<FailoverAvailabilityZone> targetStandbyAvailabilityZones)

      The Availability Zone that will become standby after the failover. Each entry includes the Availability Zone name and ID.

      Parameters:
      targetStandbyAvailabilityZones - The Availability Zone that will become standby after the failover. Each entry includes the Availability Zone name and ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetStandbyAvailabilityZones

      VolumeFailoverInfo.Builder targetStandbyAvailabilityZones(FailoverAvailabilityZone... targetStandbyAvailabilityZones)

      The Availability Zone that will become standby after the failover. Each entry includes the Availability Zone name and ID.

      Parameters:
      targetStandbyAvailabilityZones - The Availability Zone that will become standby after the failover. Each entry includes the Availability Zone name and ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetStandbyAvailabilityZones

      VolumeFailoverInfo.Builder targetStandbyAvailabilityZones(Consumer<FailoverAvailabilityZone.Builder>... targetStandbyAvailabilityZones)

      The Availability Zone that will become standby after the failover. Each entry includes the Availability Zone name and ID.

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

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

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