Interface VolumeFailoverInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VolumeFailoverInfo.Builder,,VolumeFailoverInfo> SdkBuilder<VolumeFailoverInfo.Builder,,VolumeFailoverInfo> SdkPojo
- Enclosing class:
VolumeFailoverInfo
-
Method Summary
Modifier and TypeMethodDescriptionsourceActiveAvailabilityZone(String sourceActiveAvailabilityZone) The name of the Availability Zone that was active before the failover.sourceActiveAvailabilityZoneId(String sourceActiveAvailabilityZoneId) The ID of the Availability Zone that was active before the failover.sourceStandbyAvailabilityZones(Collection<FailoverAvailabilityZone> sourceStandbyAvailabilityZones) The Availability Zone that was standby before the failover.sourceStandbyAvailabilityZones(Consumer<FailoverAvailabilityZone.Builder>... sourceStandbyAvailabilityZones) The Availability Zone that was standby before the failover.sourceStandbyAvailabilityZones(FailoverAvailabilityZone... sourceStandbyAvailabilityZones) The Availability Zone that was standby before the failover.targetActiveAvailabilityZone(String targetActiveAvailabilityZone) The name of the Availability Zone that will become active after the failover.targetActiveAvailabilityZoneId(String targetActiveAvailabilityZoneId) The ID of the Availability Zone that will become active after the failover.targetStandbyAvailabilityZones(Collection<FailoverAvailabilityZone> targetStandbyAvailabilityZones) The Availability Zone that will become standby after the failover.targetStandbyAvailabilityZones(Consumer<FailoverAvailabilityZone.Builder>... targetStandbyAvailabilityZones) The Availability Zone that will become standby after the failover.targetStandbyAvailabilityZones(FailoverAvailabilityZone... targetStandbyAvailabilityZones) The Availability Zone that will become standby after the failover.The ID of the volume.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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 theFailoverAvailabilityZone.Builderavoiding the need to create one manually viaFailoverAvailabilityZone.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceStandbyAvailabilityZones(List<FailoverAvailabilityZone>).- Parameters:
sourceStandbyAvailabilityZones- a consumer that will call methods onFailoverAvailabilityZone.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 theFailoverAvailabilityZone.Builderavoiding the need to create one manually viaFailoverAvailabilityZone.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetStandbyAvailabilityZones(List<FailoverAvailabilityZone>).- Parameters:
targetStandbyAvailabilityZones- a consumer that will call methods onFailoverAvailabilityZone.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-