@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestoreTestingPlanForUpdate extends Object implements Serializable, Cloneable, StructuredPojo
This contains metadata about a restore testing plan.
Constructor and Description |
---|
RestoreTestingPlanForUpdate() |
Modifier and Type | Method and Description |
---|---|
RestoreTestingPlanForUpdate |
clone() |
boolean |
equals(Object obj) |
RestoreTestingRecoveryPointSelection |
getRecoveryPointSelection()
Required:
Algorithm ; RecoveryPointTypes ; IncludeVaults (one or
more). |
String |
getScheduleExpression()
A CRON expression in specified timezone when a restore testing plan is executed.
|
String |
getScheduleExpressionTimezone()
Optional.
|
Integer |
getStartWindowHours()
Defaults to 24 hours.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRecoveryPointSelection(RestoreTestingRecoveryPointSelection recoveryPointSelection)
Required:
Algorithm ; RecoveryPointTypes ; IncludeVaults (one or
more). |
void |
setScheduleExpression(String scheduleExpression)
A CRON expression in specified timezone when a restore testing plan is executed.
|
void |
setScheduleExpressionTimezone(String scheduleExpressionTimezone)
Optional.
|
void |
setStartWindowHours(Integer startWindowHours)
Defaults to 24 hours.
|
String |
toString()
Returns a string representation of this object.
|
RestoreTestingPlanForUpdate |
withRecoveryPointSelection(RestoreTestingRecoveryPointSelection recoveryPointSelection)
Required:
Algorithm ; RecoveryPointTypes ; IncludeVaults (one or
more). |
RestoreTestingPlanForUpdate |
withScheduleExpression(String scheduleExpression)
A CRON expression in specified timezone when a restore testing plan is executed.
|
RestoreTestingPlanForUpdate |
withScheduleExpressionTimezone(String scheduleExpressionTimezone)
Optional.
|
RestoreTestingPlanForUpdate |
withStartWindowHours(Integer startWindowHours)
Defaults to 24 hours.
|
public void setRecoveryPointSelection(RestoreTestingRecoveryPointSelection recoveryPointSelection)
Required: Algorithm
; RecoveryPointTypes
; IncludeVaults
(one or
more).
Optional: SelectionWindowDays ('30' if not specified); ExcludeVaults
(defaults to
empty list if not listed).
recoveryPointSelection
- Required: Algorithm
; RecoveryPointTypes
; IncludeVaults
(one or
more).
Optional: SelectionWindowDays ('30' if not specified); ExcludeVaults
(defaults
to empty list if not listed).
public RestoreTestingRecoveryPointSelection getRecoveryPointSelection()
Required: Algorithm
; RecoveryPointTypes
; IncludeVaults
(one or
more).
Optional: SelectionWindowDays ('30' if not specified); ExcludeVaults
(defaults to
empty list if not listed).
Algorithm
; RecoveryPointTypes
; IncludeVaults
(one or
more).
Optional: SelectionWindowDays ('30' if not specified); ExcludeVaults
(defaults
to empty list if not listed).
public RestoreTestingPlanForUpdate withRecoveryPointSelection(RestoreTestingRecoveryPointSelection recoveryPointSelection)
Required: Algorithm
; RecoveryPointTypes
; IncludeVaults
(one or
more).
Optional: SelectionWindowDays ('30' if not specified); ExcludeVaults
(defaults to
empty list if not listed).
recoveryPointSelection
- Required: Algorithm
; RecoveryPointTypes
; IncludeVaults
(one or
more).
Optional: SelectionWindowDays ('30' if not specified); ExcludeVaults
(defaults
to empty list if not listed).
public void setScheduleExpression(String scheduleExpression)
A CRON expression in specified timezone when a restore testing plan is executed.
scheduleExpression
- A CRON expression in specified timezone when a restore testing plan is executed.public String getScheduleExpression()
A CRON expression in specified timezone when a restore testing plan is executed.
public RestoreTestingPlanForUpdate withScheduleExpression(String scheduleExpression)
A CRON expression in specified timezone when a restore testing plan is executed.
scheduleExpression
- A CRON expression in specified timezone when a restore testing plan is executed.public void setScheduleExpressionTimezone(String 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.
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.public String getScheduleExpressionTimezone()
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.
public RestoreTestingPlanForUpdate withScheduleExpressionTimezone(String 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.
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.public void setStartWindowHours(Integer 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).
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).
public Integer getStartWindowHours()
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).
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).
public RestoreTestingPlanForUpdate withStartWindowHours(Integer 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).
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).
public String toString()
toString
in class Object
Object.toString()
public RestoreTestingPlanForUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.