Interface StartPracticeRunResponse.Builder
- All Superinterfaces:
ArcZonalShiftResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<StartPracticeRunResponse.Builder,
,StartPracticeRunResponse> SdkBuilder<StartPracticeRunResponse.Builder,
,StartPracticeRunResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StartPracticeRunResponse
-
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.expiryTime
(Instant expiryTime) The expiry time (expiration time) for an on-demand practice run zonal shift is 30 minutes from the time when you start the practice run, unless you cancel it before that time.resourceIdentifier
(String resourceIdentifier) The identifier for the resource that you want to shift traffic for.The time (UTC) when the zonal shift starts.A status for the practice run (expected status is ACTIVE).status
(ZonalShiftStatus status) A status for the practice run (expected status is ACTIVE).zonalShiftId
(String zonalShiftId) The identifier of a practice run zonal shift.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
-
zonalShiftId
The identifier of a practice run zonal shift.
- Parameters:
zonalShiftId
- The identifier of a practice run zonal shift.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
The identifier for the resource that you want to shift traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.
- Parameters:
resourceIdentifier
- The identifier for the resource that you want to shift traffic 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.
-
expiryTime
The expiry time (expiration time) for an on-demand practice run zonal shift is 30 minutes from the time when you start the practice run, unless you cancel it before that time. However, be aware that the
expiryTime
field for practice run zonal shifts always has a value of 1 minute.- Parameters:
expiryTime
- The expiry time (expiration time) for an on-demand practice run zonal shift is 30 minutes from the time when you start the practice run, unless you cancel it before that time. However, be aware that theexpiryTime
field for practice run zonal shifts always has a value of 1 minute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The time (UTC) when the zonal shift starts.
- Parameters:
startTime
- The time (UTC) when the zonal shift starts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
A status for the practice run (expected status is ACTIVE).
- Parameters:
status
- A status for the practice run (expected status is ACTIVE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
A status for the practice run (expected status is ACTIVE).
- Parameters:
status
- A status for the practice run (expected status is ACTIVE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-