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, sdkFieldNameToField, 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.
-
zonalAutoshiftStatus
The status for zonal autoshift for a resource. When you specify
ENABLED
for the autoshift status, Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone, on your behalf, when internal telemetry indicates that there is an Availability Zone impairment that could potentially impact 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 specifyENABLED
for the autoshift status, Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone, on your behalf, when internal telemetry indicates that there is an Availability Zone impairment that could potentially impact 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
ENABLED
for the autoshift status, Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone, on your behalf, when internal telemetry indicates that there is an Availability Zone impairment that could potentially impact 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 specifyENABLED
for the autoshift status, Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone, on your behalf, when internal telemetry indicates that there is an Availability Zone impairment that could potentially impact 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:
-
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:
-