Interface CreatePracticeRunConfigurationResponse.Builder

All Superinterfaces:
ArcZonalShiftResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<CreatePracticeRunConfigurationResponse.Builder,CreatePracticeRunConfigurationResponse>, SdkBuilder<CreatePracticeRunConfigurationResponse.Builder,CreatePracticeRunConfigurationResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreatePracticeRunConfigurationResponse

  • Method Details

    • arn

      The Amazon Resource Name (ARN) of the resource that you configured the practice run for.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the resource that you configured the practice run for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the resource that you configured the practice run for.

      Parameters:
      name - The name of the resource that you configured the practice run for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • practiceRunConfiguration

      CreatePracticeRunConfigurationResponse.Builder practiceRunConfiguration(PracticeRunConfiguration practiceRunConfiguration)

      A practice run configuration for a resource. Configurations include the outcome alarm that you specify for practice runs, and, optionally, a blocking alarm and blocking dates and windows.

      Parameters:
      practiceRunConfiguration - A practice run configuration for a resource. Configurations include the outcome alarm that you specify for practice runs, and, optionally, a blocking alarm and blocking dates and windows.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • practiceRunConfiguration

      default CreatePracticeRunConfigurationResponse.Builder practiceRunConfiguration(Consumer<PracticeRunConfiguration.Builder> practiceRunConfiguration)

      A practice run configuration for a resource. Configurations include the outcome alarm that you specify for practice runs, and, optionally, a blocking alarm and blocking dates and windows.

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

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

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

      CreatePracticeRunConfigurationResponse.Builder zonalAutoshiftStatus(String zonalAutoshiftStatus)

      The status for zonal autoshift for a resource. When you specify the autoshift status as ENABLED, Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.

      When you enable zonal autoshift, you must also configure practice runs for the resource.

      Parameters:
      zonalAutoshiftStatus - The status for zonal autoshift for a resource. When you specify the autoshift status as ENABLED, Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.

      When you enable zonal autoshift, you must also configure practice runs for the resource.

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

      CreatePracticeRunConfigurationResponse.Builder zonalAutoshiftStatus(ZonalAutoshiftStatus zonalAutoshiftStatus)

      The status for zonal autoshift for a resource. When you specify the autoshift status as ENABLED, Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.

      When you enable zonal autoshift, you must also configure practice runs for the resource.

      Parameters:
      zonalAutoshiftStatus - The status for zonal autoshift for a resource. When you specify the autoshift status as ENABLED, Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.

      When you enable zonal autoshift, you must also configure practice runs for the resource.

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