Interface FailoverVolumesRequest.Builder

  • Method Details

    • volumeId

      The ID of the Multi-AZ volume to fail over. The Multi-AZ volume's active replica must be in the Availability Zone specified by SourceActiveAvailabilityZone or SourceActiveAvailabilityZoneId.

      Either VolumeId or InstanceId must be specified, but not both.

      Parameters:
      volumeId - The ID of the Multi-AZ volume to fail over. The Multi-AZ volume's active replica must be in the Availability Zone specified by SourceActiveAvailabilityZone or SourceActiveAvailabilityZoneId.

      Either VolumeId or InstanceId must be specified, but not both.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceId

      FailoverVolumesRequest.Builder instanceId(String instanceId)

      The ID of the instance. The instance must be in the Availability Zone specified by SourceActiveAvailabilityZone or SourceActiveAvailabilityZoneId. EBS fails over all Multi-AZ volumes that are attached to the instance and have their active replica in the specified Availability Zone.

      Either VolumeId or InstanceId must be specified, but not both.

      Parameters:
      instanceId - The ID of the instance. The instance must be in the Availability Zone specified by SourceActiveAvailabilityZone or SourceActiveAvailabilityZoneId. EBS fails over all Multi-AZ volumes that are attached to the instance and have their active replica in the specified Availability Zone.

      Either VolumeId or InstanceId must be specified, but not both.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceActiveAvailabilityZone

      FailoverVolumesRequest.Builder sourceActiveAvailabilityZone(String sourceActiveAvailabilityZone)

      The name of the Availability Zone that the volume's active replica is in, or that the instance is in. For example, us-east-1a.

      Either SourceActiveAvailabilityZone or SourceActiveAvailabilityZoneId must be specified, but not both.

      Parameters:
      sourceActiveAvailabilityZone - The name of the Availability Zone that the volume's active replica is in, or that the instance is in. For example, us-east-1a.

      Either SourceActiveAvailabilityZone or SourceActiveAvailabilityZoneId must be specified, but not both.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceActiveAvailabilityZoneId

      FailoverVolumesRequest.Builder sourceActiveAvailabilityZoneId(String sourceActiveAvailabilityZoneId)

      The ID of the Availability Zone that the volume's active replica is in, or that the instance is in. For example, use1-az1.

      Either SourceActiveAvailabilityZone or SourceActiveAvailabilityZoneId must be specified, but not both.

      Parameters:
      sourceActiveAvailabilityZoneId - The ID of the Availability Zone that the volume's active replica is in, or that the instance is in. For example, use1-az1.

      Either SourceActiveAvailabilityZone or SourceActiveAvailabilityZoneId must be specified, but not both.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dryRun

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      Parameters:
      dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      FailoverVolumesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.