@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestoreTestingPlanForCreate extends Object implements Serializable, Cloneable, StructuredPojo
This contains metadata about a restore testing plan.
Constructor and Description |
---|
RestoreTestingPlanForCreate() |
Modifier and Type | Method and Description |
---|---|
RestoreTestingPlanForCreate |
clone() |
boolean |
equals(Object obj) |
RestoreTestingRecoveryPointSelection |
getRecoveryPointSelection()
Required: Algorithm; Required: Recovery point types; IncludeVaults (one or more).
|
String |
getRestoreTestingPlanName()
The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.
|
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; Required: Recovery point types; IncludeVaults (one or more).
|
void |
setRestoreTestingPlanName(String restoreTestingPlanName)
The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.
|
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.
|
RestoreTestingPlanForCreate |
withRecoveryPointSelection(RestoreTestingRecoveryPointSelection recoveryPointSelection)
Required: Algorithm; Required: Recovery point types; IncludeVaults (one or more).
|
RestoreTestingPlanForCreate |
withRestoreTestingPlanName(String restoreTestingPlanName)
The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.
|
RestoreTestingPlanForCreate |
withScheduleExpression(String scheduleExpression)
A CRON expression in specified timezone when a restore testing plan is executed.
|
RestoreTestingPlanForCreate |
withScheduleExpressionTimezone(String scheduleExpressionTimezone)
Optional.
|
RestoreTestingPlanForCreate |
withStartWindowHours(Integer startWindowHours)
Defaults to 24 hours.
|
public void setRecoveryPointSelection(RestoreTestingRecoveryPointSelection recoveryPointSelection)
Required: Algorithm; Required: Recovery point types; IncludeVaults (one or more). Optional: SelectionWindowDays ('30' if not specified); ExcludeVaults (list of selectors), defaults to empty list if not listed.
recoveryPointSelection
- Required: Algorithm; Required: Recovery point types; IncludeVaults (one or more). Optional:
SelectionWindowDays ('30' if not specified); ExcludeVaults (list of selectors), defaults to empty list if
not listed.public RestoreTestingRecoveryPointSelection getRecoveryPointSelection()
Required: Algorithm; Required: Recovery point types; IncludeVaults (one or more). Optional: SelectionWindowDays ('30' if not specified); ExcludeVaults (list of selectors), defaults to empty list if not listed.
public RestoreTestingPlanForCreate withRecoveryPointSelection(RestoreTestingRecoveryPointSelection recoveryPointSelection)
Required: Algorithm; Required: Recovery point types; IncludeVaults (one or more). Optional: SelectionWindowDays ('30' if not specified); ExcludeVaults (list of selectors), defaults to empty list if not listed.
recoveryPointSelection
- Required: Algorithm; Required: Recovery point types; IncludeVaults (one or more). Optional:
SelectionWindowDays ('30' if not specified); ExcludeVaults (list of selectors), defaults to empty list if
not listed.public void setRestoreTestingPlanName(String restoreTestingPlanName)
The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
restoreTestingPlanName
- The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be
changed after creation, and it must consist of only alphanumeric characters and underscores.public String getRestoreTestingPlanName()
The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
public RestoreTestingPlanForCreate withRestoreTestingPlanName(String restoreTestingPlanName)
The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
restoreTestingPlanName
- The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be
changed after creation, and it must consist of only alphanumeric characters and underscores.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 RestoreTestingPlanForCreate 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 RestoreTestingPlanForCreate 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 RestoreTestingPlanForCreate 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 RestoreTestingPlanForCreate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.