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 Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the resource that you configured the practice run for.The name of the resource that you configured the practice run for.practiceRunConfiguration
(Consumer<PracticeRunConfiguration.Builder> practiceRunConfiguration) A practice run configuration for a resource.practiceRunConfiguration
(PracticeRunConfiguration practiceRunConfiguration) A practice run configuration for a resource.zonalAutoshiftStatus
(String zonalAutoshiftStatus) The status for zonal autoshift for a resource.zonalAutoshiftStatus
(ZonalAutoshiftStatus zonalAutoshiftStatus) The status for zonal autoshift for a resource.Methods inherited from interface software.amazon.awssdk.services.arczonalshift.model.ArcZonalShiftResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 thePracticeRunConfiguration.Builder
avoiding the need to create one manually viaPracticeRunConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topracticeRunConfiguration(PracticeRunConfiguration)
.- Parameters:
practiceRunConfiguration
- a consumer that will call methods onPracticeRunConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 asENABLED
, 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 asENABLED
, 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:
-