Interface CancelPracticeRunResponse.Builder
- All Superinterfaces:
ArcZonalShiftResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<CancelPracticeRunResponse.Builder,
,CancelPracticeRunResponse> SdkBuilder<CancelPracticeRunResponse.Builder,
,CancelPracticeRunResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CancelPracticeRunResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Availability Zone (for example,use1-az1
) that traffic was moved away from for a resource that you specified for the practice run.The initial comment that you entered 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 canceled a practice run zonal shift for.The time (UTC) when the zonal shift starts.A status for the practice run that you canceled (expected status is CANCELED).status
(ZonalShiftStatus status) A status for the practice run that you canceled (expected status is CANCELED).zonalShiftId
(String zonalShiftId) The identifier of the practice run zonal shift in Amazon Application Recovery Controller that was canceled.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 the practice run zonal shift in Amazon Application Recovery Controller that was canceled.
- Parameters:
zonalShiftId
- The identifier of the practice run zonal shift in Amazon Application Recovery Controller that was canceled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
The identifier for the resource that you canceled 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 canceled 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 was moved away from for a resource that you specified for the practice run.- Parameters:
awayFrom
- The Availability Zone (for example,use1-az1
) that traffic was moved away from for a resource that you specified 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 that you canceled (expected status is CANCELED).
The
Status
for a practice run zonal shift can have one of the following values:- Parameters:
status
- A status for the practice run that you canceled (expected status is CANCELED).The
Status
for a practice run zonal shift can have one of the following values:- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
A status for the practice run that you canceled (expected status is CANCELED).
The
Status
for a practice run zonal shift can have one of the following values:- Parameters:
status
- A status for the practice run that you canceled (expected status is CANCELED).The
Status
for a practice run zonal shift can have one of the following values:- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
comment
The initial comment that you entered 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 entered 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.
-