Interface RestoreTestingPlanForGet.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RestoreTestingPlanForGet.Builder,
,RestoreTestingPlanForGet> SdkBuilder<RestoreTestingPlanForGet.Builder,
,RestoreTestingPlanForGet> SdkPojo
- Enclosing class:
RestoreTestingPlanForGet
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The date and time that a restore testing plan was created, in Unix format and Coordinated Universal Time (UTC).creatorRequestId
(String creatorRequestId) This identifies the request and allows failed requests to be retried without the risk of running the operation twice.lastExecutionTime
(Instant lastExecutionTime) The last time a restore test was run with the specified restore testing plan.lastUpdateTime
(Instant lastUpdateTime) The date and time that the restore testing plan was updated.default RestoreTestingPlanForGet.Builder
recoveryPointSelection
(Consumer<RestoreTestingRecoveryPointSelection.Builder> recoveryPointSelection) The specified criteria to assign a set of resources, such as recovery point types or backup vaults.recoveryPointSelection
(RestoreTestingRecoveryPointSelection recoveryPointSelection) The specified criteria to assign a set of resources, such as recovery point types or backup vaults.restoreTestingPlanArn
(String restoreTestingPlanArn) An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.restoreTestingPlanName
(String restoreTestingPlanName) This is the restore testing plan name.scheduleExpression
(String scheduleExpression) A CRON expression in specified timezone when a restore testing plan is executed.scheduleExpressionTimezone
(String scheduleExpressionTimezone) Optional.startWindowHours
(Integer startWindowHours) Defaults to 24 hours.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
-
Method Details
-
creationTime
The date and time that a restore testing plan was created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Parameters:
creationTime
- The date and time that a restore testing plan was created, in Unix format and Coordinated Universal Time (UTC). The value ofCreationTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creatorRequestId
This identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes a
CreatorRequestId
that matches an existing backup plan, that plan is returned. This parameter is optional.If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
- Parameters:
creatorRequestId
- This identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes aCreatorRequestId
that matches an existing backup plan, that plan is returned. This parameter is optional.If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastExecutionTime
The last time a restore test was run with the specified restore testing plan. A date and time, in Unix format and Coordinated Universal Time (UTC). The value of
LastExecutionDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Parameters:
lastExecutionTime
- The last time a restore test was run with the specified restore testing plan. A date and time, in Unix format and Coordinated Universal Time (UTC). The value ofLastExecutionDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTime
The date and time that the restore testing plan was updated. This update is in Unix format and Coordinated Universal Time (UTC). The value of
LastUpdateTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Parameters:
lastUpdateTime
- The date and time that the restore testing plan was updated. This update is in Unix format and Coordinated Universal Time (UTC). The value ofLastUpdateTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryPointSelection
RestoreTestingPlanForGet.Builder recoveryPointSelection(RestoreTestingRecoveryPointSelection recoveryPointSelection) The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
- Parameters:
recoveryPointSelection
- The specified criteria to assign a set of resources, such as recovery point types or backup vaults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryPointSelection
default RestoreTestingPlanForGet.Builder recoveryPointSelection(Consumer<RestoreTestingRecoveryPointSelection.Builder> recoveryPointSelection) The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
This is a convenience method that creates an instance of theRestoreTestingRecoveryPointSelection.Builder
avoiding the need to create one manually viaRestoreTestingRecoveryPointSelection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecoveryPointSelection(RestoreTestingRecoveryPointSelection)
.- Parameters:
recoveryPointSelection
- a consumer that will call methods onRestoreTestingRecoveryPointSelection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
restoreTestingPlanArn
An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.
- Parameters:
restoreTestingPlanArn
- An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreTestingPlanName
This is the restore testing plan name.
- Parameters:
restoreTestingPlanName
- This is the restore testing plan name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleExpression
A CRON expression in specified timezone when a restore testing plan is executed.
- Parameters:
scheduleExpression
- A CRON expression in specified timezone when a restore testing plan is executed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleExpressionTimezone
Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
- Parameters:
scheduleExpressionTimezone
- Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startWindowHours
Defaults to 24 hours.
A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week).
- Parameters:
startWindowHours
- Defaults to 24 hours.A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-