@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestoreTestingRecoveryPointSelection extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
RestoreTestingRecoveryPointSelection() |
Modifier and Type | Method and Description |
---|---|
RestoreTestingRecoveryPointSelection |
clone() |
boolean |
equals(Object obj) |
String |
getAlgorithm()
Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"
|
List<String> |
getExcludeVaults()
Accepted values include specific ARNs or list of selectors.
|
List<String> |
getIncludeVaults()
Accepted values include wildcard ["*"] or by specific ARNs or ARN wilcard replacement
["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...] ["arn:aws:backup:*:*:backup-vault:asdf-*", ...]
|
List<String> |
getRecoveryPointTypes()
These are the types of recovery points.
|
Integer |
getSelectionWindowDays()
Accepted values are integers from 1 to 365.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlgorithm(String algorithm)
Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"
|
void |
setExcludeVaults(Collection<String> excludeVaults)
Accepted values include specific ARNs or list of selectors.
|
void |
setIncludeVaults(Collection<String> includeVaults)
Accepted values include wildcard ["*"] or by specific ARNs or ARN wilcard replacement
["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...] ["arn:aws:backup:*:*:backup-vault:asdf-*", ...]
|
void |
setRecoveryPointTypes(Collection<String> recoveryPointTypes)
These are the types of recovery points.
|
void |
setSelectionWindowDays(Integer selectionWindowDays)
Accepted values are integers from 1 to 365.
|
String |
toString()
Returns a string representation of this object.
|
RestoreTestingRecoveryPointSelection |
withAlgorithm(RestoreTestingRecoveryPointSelectionAlgorithm algorithm)
Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"
|
RestoreTestingRecoveryPointSelection |
withAlgorithm(String algorithm)
Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"
|
RestoreTestingRecoveryPointSelection |
withExcludeVaults(Collection<String> excludeVaults)
Accepted values include specific ARNs or list of selectors.
|
RestoreTestingRecoveryPointSelection |
withExcludeVaults(String... excludeVaults)
Accepted values include specific ARNs or list of selectors.
|
RestoreTestingRecoveryPointSelection |
withIncludeVaults(Collection<String> includeVaults)
Accepted values include wildcard ["*"] or by specific ARNs or ARN wilcard replacement
["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...] ["arn:aws:backup:*:*:backup-vault:asdf-*", ...]
|
RestoreTestingRecoveryPointSelection |
withIncludeVaults(String... includeVaults)
Accepted values include wildcard ["*"] or by specific ARNs or ARN wilcard replacement
["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...] ["arn:aws:backup:*:*:backup-vault:asdf-*", ...]
|
RestoreTestingRecoveryPointSelection |
withRecoveryPointTypes(Collection<String> recoveryPointTypes)
These are the types of recovery points.
|
RestoreTestingRecoveryPointSelection |
withRecoveryPointTypes(RestoreTestingRecoveryPointType... recoveryPointTypes)
These are the types of recovery points.
|
RestoreTestingRecoveryPointSelection |
withRecoveryPointTypes(String... recoveryPointTypes)
These are the types of recovery points.
|
RestoreTestingRecoveryPointSelection |
withSelectionWindowDays(Integer selectionWindowDays)
Accepted values are integers from 1 to 365.
|
public RestoreTestingRecoveryPointSelection()
public void setAlgorithm(String algorithm)
Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"
algorithm
- Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"RestoreTestingRecoveryPointSelectionAlgorithm
public String getAlgorithm()
Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"
RestoreTestingRecoveryPointSelectionAlgorithm
public RestoreTestingRecoveryPointSelection withAlgorithm(String algorithm)
Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"
algorithm
- Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"RestoreTestingRecoveryPointSelectionAlgorithm
public RestoreTestingRecoveryPointSelection withAlgorithm(RestoreTestingRecoveryPointSelectionAlgorithm algorithm)
Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"
algorithm
- Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"RestoreTestingRecoveryPointSelectionAlgorithm
public List<String> getExcludeVaults()
Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.
public void setExcludeVaults(Collection<String> excludeVaults)
Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.
excludeVaults
- Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.public RestoreTestingRecoveryPointSelection withExcludeVaults(String... excludeVaults)
Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.
NOTE: This method appends the values to the existing list (if any). Use
setExcludeVaults(java.util.Collection)
or withExcludeVaults(java.util.Collection)
if you want
to override the existing values.
excludeVaults
- Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.public RestoreTestingRecoveryPointSelection withExcludeVaults(Collection<String> excludeVaults)
Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.
excludeVaults
- Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.public List<String> getIncludeVaults()
Accepted values include wildcard ["*"] or by specific ARNs or ARN wilcard replacement ["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...] ["arn:aws:backup:*:*:backup-vault:asdf-*", ...]
public void setIncludeVaults(Collection<String> includeVaults)
Accepted values include wildcard ["*"] or by specific ARNs or ARN wilcard replacement ["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...] ["arn:aws:backup:*:*:backup-vault:asdf-*", ...]
includeVaults
- Accepted values include wildcard ["*"] or by specific ARNs or ARN wilcard replacement
["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...]
["arn:aws:backup:*:*:backup-vault:asdf-*", ...]public RestoreTestingRecoveryPointSelection withIncludeVaults(String... includeVaults)
Accepted values include wildcard ["*"] or by specific ARNs or ARN wilcard replacement ["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...] ["arn:aws:backup:*:*:backup-vault:asdf-*", ...]
NOTE: This method appends the values to the existing list (if any). Use
setIncludeVaults(java.util.Collection)
or withIncludeVaults(java.util.Collection)
if you want
to override the existing values.
includeVaults
- Accepted values include wildcard ["*"] or by specific ARNs or ARN wilcard replacement
["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...]
["arn:aws:backup:*:*:backup-vault:asdf-*", ...]public RestoreTestingRecoveryPointSelection withIncludeVaults(Collection<String> includeVaults)
Accepted values include wildcard ["*"] or by specific ARNs or ARN wilcard replacement ["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...] ["arn:aws:backup:*:*:backup-vault:asdf-*", ...]
includeVaults
- Accepted values include wildcard ["*"] or by specific ARNs or ARN wilcard replacement
["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...]
["arn:aws:backup:*:*:backup-vault:asdf-*", ...]public List<String> getRecoveryPointTypes()
These are the types of recovery points.
RestoreTestingRecoveryPointType
public void setRecoveryPointTypes(Collection<String> recoveryPointTypes)
These are the types of recovery points.
recoveryPointTypes
- These are the types of recovery points.RestoreTestingRecoveryPointType
public RestoreTestingRecoveryPointSelection withRecoveryPointTypes(String... recoveryPointTypes)
These are the types of recovery points.
NOTE: This method appends the values to the existing list (if any). Use
setRecoveryPointTypes(java.util.Collection)
or withRecoveryPointTypes(java.util.Collection)
if
you want to override the existing values.
recoveryPointTypes
- These are the types of recovery points.RestoreTestingRecoveryPointType
public RestoreTestingRecoveryPointSelection withRecoveryPointTypes(Collection<String> recoveryPointTypes)
These are the types of recovery points.
recoveryPointTypes
- These are the types of recovery points.RestoreTestingRecoveryPointType
public RestoreTestingRecoveryPointSelection withRecoveryPointTypes(RestoreTestingRecoveryPointType... recoveryPointTypes)
These are the types of recovery points.
recoveryPointTypes
- These are the types of recovery points.RestoreTestingRecoveryPointType
public void setSelectionWindowDays(Integer selectionWindowDays)
Accepted values are integers from 1 to 365.
selectionWindowDays
- Accepted values are integers from 1 to 365.public Integer getSelectionWindowDays()
Accepted values are integers from 1 to 365.
public RestoreTestingRecoveryPointSelection withSelectionWindowDays(Integer selectionWindowDays)
Accepted values are integers from 1 to 365.
selectionWindowDays
- Accepted values are integers from 1 to 365.public String toString()
toString
in class Object
Object.toString()
public RestoreTestingRecoveryPointSelection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.