Interface StartPracticeRunRequest.Builder
- All Superinterfaces:
ArcZonalShiftRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<StartPracticeRunRequest.Builder,,StartPracticeRunRequest> SdkBuilder<StartPracticeRunRequest.Builder,,StartPracticeRunRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartPracticeRunRequest
@Mutable
@NotThreadSafe
public static interface StartPracticeRunRequest.Builder
extends ArcZonalShiftRequest.Builder, SdkPojo, CopyableBuilder<StartPracticeRunRequest.Builder,StartPracticeRunRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Availability Zone (for example,use1-az1) that traffic is shifted away from for the resource that you specify for the practice run.The initial comment that you enter about the practice run.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceIdentifier(String resourceIdentifier) The identifier for the resource that you want to start a practice run zonal shift for.Methods inherited from interface software.amazon.awssdk.services.arczonalshift.model.ArcZonalShiftRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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
-
resourceIdentifier
The identifier for the resource that you want to start a practice run zonal shift for. The identifier is the Amazon Resource Name (ARN) for the resource.
- Parameters:
resourceIdentifier- The identifier for the resource that you want to start a practice run zonal shift for. The identifier is the Amazon Resource Name (ARN) for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awayFrom
The Availability Zone (for example,
use1-az1) that traffic is shifted away from for the resource that you specify for the practice run.- Parameters:
awayFrom- The Availability Zone (for example,use1-az1) that traffic is shifted away from for the resource that you specify for the practice run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
The initial comment that you enter about the practice run. Be aware that this comment can be overwritten by Amazon Web Services if the automatic check for balanced capacity fails. For more information, see Capacity checks for practice runs in the Amazon Application Recovery Controller Developer Guide.
- Parameters:
comment- The initial comment that you enter about the practice run. Be aware that this comment can be overwritten by Amazon Web Services if the automatic check for balanced capacity fails. For more information, see Capacity checks for practice runs in the Amazon Application Recovery Controller Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartPracticeRunRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartPracticeRunRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-