@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Conditions extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about which resources to include or exclude from a backup plan using their tags. Conditions are case sensitive.
Constructor and Description |
---|
Conditions() |
Modifier and Type | Method and Description |
---|---|
Conditions |
clone() |
boolean |
equals(Object obj) |
List<ConditionParameter> |
getStringEquals()
Filters the values of your tagged resources for only those resources that you tagged with the same value.
|
List<ConditionParameter> |
getStringLike()
Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*)
anywhere in the string.
|
List<ConditionParameter> |
getStringNotEquals()
Filters the values of your tagged resources for only those resources that you tagged that do not have the same
value.
|
List<ConditionParameter> |
getStringNotLike()
Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*)
anywhere in the string.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStringEquals(Collection<ConditionParameter> stringEquals)
Filters the values of your tagged resources for only those resources that you tagged with the same value.
|
void |
setStringLike(Collection<ConditionParameter> stringLike)
Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*)
anywhere in the string.
|
void |
setStringNotEquals(Collection<ConditionParameter> stringNotEquals)
Filters the values of your tagged resources for only those resources that you tagged that do not have the same
value.
|
void |
setStringNotLike(Collection<ConditionParameter> stringNotLike)
Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*)
anywhere in the string.
|
String |
toString()
Returns a string representation of this object.
|
Conditions |
withStringEquals(Collection<ConditionParameter> stringEquals)
Filters the values of your tagged resources for only those resources that you tagged with the same value.
|
Conditions |
withStringEquals(ConditionParameter... stringEquals)
Filters the values of your tagged resources for only those resources that you tagged with the same value.
|
Conditions |
withStringLike(Collection<ConditionParameter> stringLike)
Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*)
anywhere in the string.
|
Conditions |
withStringLike(ConditionParameter... stringLike)
Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*)
anywhere in the string.
|
Conditions |
withStringNotEquals(Collection<ConditionParameter> stringNotEquals)
Filters the values of your tagged resources for only those resources that you tagged that do not have the same
value.
|
Conditions |
withStringNotEquals(ConditionParameter... stringNotEquals)
Filters the values of your tagged resources for only those resources that you tagged that do not have the same
value.
|
Conditions |
withStringNotLike(Collection<ConditionParameter> stringNotLike)
Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*)
anywhere in the string.
|
Conditions |
withStringNotLike(ConditionParameter... stringNotLike)
Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*)
anywhere in the string.
|
public List<ConditionParameter> getStringEquals()
Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
public void setStringEquals(Collection<ConditionParameter> stringEquals)
Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
stringEquals
- Filters the values of your tagged resources for only those resources that you tagged with the same value.
Also called "exact matching."public Conditions withStringEquals(ConditionParameter... stringEquals)
Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
NOTE: This method appends the values to the existing list (if any). Use
setStringEquals(java.util.Collection)
or withStringEquals(java.util.Collection)
if you want to
override the existing values.
stringEquals
- Filters the values of your tagged resources for only those resources that you tagged with the same value.
Also called "exact matching."public Conditions withStringEquals(Collection<ConditionParameter> stringEquals)
Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
stringEquals
- Filters the values of your tagged resources for only those resources that you tagged with the same value.
Also called "exact matching."public List<ConditionParameter> getStringNotEquals()
Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
public void setStringNotEquals(Collection<ConditionParameter> stringNotEquals)
Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
stringNotEquals
- Filters the values of your tagged resources for only those resources that you tagged that do not have the
same value. Also called "negated matching."public Conditions withStringNotEquals(ConditionParameter... stringNotEquals)
Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
NOTE: This method appends the values to the existing list (if any). Use
setStringNotEquals(java.util.Collection)
or withStringNotEquals(java.util.Collection)
if you
want to override the existing values.
stringNotEquals
- Filters the values of your tagged resources for only those resources that you tagged that do not have the
same value. Also called "negated matching."public Conditions withStringNotEquals(Collection<ConditionParameter> stringNotEquals)
Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
stringNotEquals
- Filters the values of your tagged resources for only those resources that you tagged that do not have the
same value. Also called "negated matching."public List<ConditionParameter> getStringLike()
Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".
public void setStringLike(Collection<ConditionParameter> stringLike)
Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".
stringLike
- Filters the values of your tagged resources for matching tag values with the use of a wildcard character
(*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".public Conditions withStringLike(ConditionParameter... stringLike)
Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".
NOTE: This method appends the values to the existing list (if any). Use
setStringLike(java.util.Collection)
or withStringLike(java.util.Collection)
if you want to
override the existing values.
stringLike
- Filters the values of your tagged resources for matching tag values with the use of a wildcard character
(*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".public Conditions withStringLike(Collection<ConditionParameter> stringLike)
Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".
stringLike
- Filters the values of your tagged resources for matching tag values with the use of a wildcard character
(*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".public List<ConditionParameter> getStringNotLike()
Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.
public void setStringNotLike(Collection<ConditionParameter> stringNotLike)
Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.
stringNotLike
- Filters the values of your tagged resources for non-matching tag values with the use of a wildcard
character (*) anywhere in the string.public Conditions withStringNotLike(ConditionParameter... stringNotLike)
Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.
NOTE: This method appends the values to the existing list (if any). Use
setStringNotLike(java.util.Collection)
or withStringNotLike(java.util.Collection)
if you want
to override the existing values.
stringNotLike
- Filters the values of your tagged resources for non-matching tag values with the use of a wildcard
character (*) anywhere in the string.public Conditions withStringNotLike(Collection<ConditionParameter> stringNotLike)
Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.
stringNotLike
- Filters the values of your tagged resources for non-matching tag values with the use of a wildcard
character (*) anywhere in the string.public String toString()
toString
in class Object
Object.toString()
public Conditions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.