@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecoveryPointSelection extends Object implements Serializable, Cloneable, StructuredPojo
This specifies criteria to assign a set of resources, such as resource types or backup vaults.
Constructor and Description |
---|
RecoveryPointSelection() |
Modifier and Type | Method and Description |
---|---|
RecoveryPointSelection |
clone() |
boolean |
equals(Object obj) |
DateRange |
getDateRange() |
List<String> |
getResourceIdentifiers()
These are the resources included in the resource selection (including type of resources and vaults).
|
List<String> |
getVaultNames()
These are the names of the vaults in which the selected recovery points are contained.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDateRange(DateRange dateRange) |
void |
setResourceIdentifiers(Collection<String> resourceIdentifiers)
These are the resources included in the resource selection (including type of resources and vaults).
|
void |
setVaultNames(Collection<String> vaultNames)
These are the names of the vaults in which the selected recovery points are contained.
|
String |
toString()
Returns a string representation of this object.
|
RecoveryPointSelection |
withDateRange(DateRange dateRange) |
RecoveryPointSelection |
withResourceIdentifiers(Collection<String> resourceIdentifiers)
These are the resources included in the resource selection (including type of resources and vaults).
|
RecoveryPointSelection |
withResourceIdentifiers(String... resourceIdentifiers)
These are the resources included in the resource selection (including type of resources and vaults).
|
RecoveryPointSelection |
withVaultNames(Collection<String> vaultNames)
These are the names of the vaults in which the selected recovery points are contained.
|
RecoveryPointSelection |
withVaultNames(String... vaultNames)
These are the names of the vaults in which the selected recovery points are contained.
|
public List<String> getVaultNames()
These are the names of the vaults in which the selected recovery points are contained.
public void setVaultNames(Collection<String> vaultNames)
These are the names of the vaults in which the selected recovery points are contained.
vaultNames
- These are the names of the vaults in which the selected recovery points are contained.public RecoveryPointSelection withVaultNames(String... vaultNames)
These are the names of the vaults in which the selected recovery points are contained.
NOTE: This method appends the values to the existing list (if any). Use
setVaultNames(java.util.Collection)
or withVaultNames(java.util.Collection)
if you want to
override the existing values.
vaultNames
- These are the names of the vaults in which the selected recovery points are contained.public RecoveryPointSelection withVaultNames(Collection<String> vaultNames)
These are the names of the vaults in which the selected recovery points are contained.
vaultNames
- These are the names of the vaults in which the selected recovery points are contained.public List<String> getResourceIdentifiers()
These are the resources included in the resource selection (including type of resources and vaults).
public void setResourceIdentifiers(Collection<String> resourceIdentifiers)
These are the resources included in the resource selection (including type of resources and vaults).
resourceIdentifiers
- These are the resources included in the resource selection (including type of resources and vaults).public RecoveryPointSelection withResourceIdentifiers(String... resourceIdentifiers)
These are the resources included in the resource selection (including type of resources and vaults).
NOTE: This method appends the values to the existing list (if any). Use
setResourceIdentifiers(java.util.Collection)
or withResourceIdentifiers(java.util.Collection)
if you want to override the existing values.
resourceIdentifiers
- These are the resources included in the resource selection (including type of resources and vaults).public RecoveryPointSelection withResourceIdentifiers(Collection<String> resourceIdentifiers)
These are the resources included in the resource selection (including type of resources and vaults).
resourceIdentifiers
- These are the resources included in the resource selection (including type of resources and vaults).public void setDateRange(DateRange dateRange)
dateRange
- public DateRange getDateRange()
public RecoveryPointSelection withDateRange(DateRange dateRange)
dateRange
- public String toString()
toString
in class Object
Object.toString()
public RecoveryPointSelection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.