@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Condition extends Object implements Serializable, Cloneable, StructuredPojo
Contains an array of triplets made up of a condition type (such as StringEquals
), a key, and a value.
Used to filter resources using their tags and assign them to a backup plan. Case sensitive.
Constructor and Description |
---|
Condition() |
Modifier and Type | Method and Description |
---|---|
Condition |
clone() |
boolean |
equals(Object obj) |
String |
getConditionKey()
The key in a key-value pair.
|
String |
getConditionType()
An operation applied to a key-value pair used to assign resources to your backup plan.
|
String |
getConditionValue()
The value in a key-value pair.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConditionKey(String conditionKey)
The key in a key-value pair.
|
void |
setConditionType(String conditionType)
An operation applied to a key-value pair used to assign resources to your backup plan.
|
void |
setConditionValue(String conditionValue)
The value in a key-value pair.
|
String |
toString()
Returns a string representation of this object.
|
Condition |
withConditionKey(String conditionKey)
The key in a key-value pair.
|
Condition |
withConditionType(ConditionType conditionType)
An operation applied to a key-value pair used to assign resources to your backup plan.
|
Condition |
withConditionType(String conditionType)
An operation applied to a key-value pair used to assign resources to your backup plan.
|
Condition |
withConditionValue(String conditionValue)
The value in a key-value pair.
|
public void setConditionType(String conditionType)
An operation applied to a key-value pair used to assign resources to your backup plan. Condition only supports
StringEquals
. For more flexible assignment options, including StringLike
and the
ability to exclude resources from your backup plan, use Conditions
(with an "s" on the end) for your
BackupSelection
.
conditionType
- An operation applied to a key-value pair used to assign resources to your backup plan. Condition only
supports StringEquals
. For more flexible assignment options, including
StringLike
and the ability to exclude resources from your backup plan, use
Conditions
(with an "s" on the end) for your
BackupSelection
.ConditionType
public String getConditionType()
An operation applied to a key-value pair used to assign resources to your backup plan. Condition only supports
StringEquals
. For more flexible assignment options, including StringLike
and the
ability to exclude resources from your backup plan, use Conditions
(with an "s" on the end) for your
BackupSelection
.
StringEquals
. For more flexible assignment options, including
StringLike
and the ability to exclude resources from your backup plan, use
Conditions
(with an "s" on the end) for your
BackupSelection
.ConditionType
public Condition withConditionType(String conditionType)
An operation applied to a key-value pair used to assign resources to your backup plan. Condition only supports
StringEquals
. For more flexible assignment options, including StringLike
and the
ability to exclude resources from your backup plan, use Conditions
(with an "s" on the end) for your
BackupSelection
.
conditionType
- An operation applied to a key-value pair used to assign resources to your backup plan. Condition only
supports StringEquals
. For more flexible assignment options, including
StringLike
and the ability to exclude resources from your backup plan, use
Conditions
(with an "s" on the end) for your
BackupSelection
.ConditionType
public Condition withConditionType(ConditionType conditionType)
An operation applied to a key-value pair used to assign resources to your backup plan. Condition only supports
StringEquals
. For more flexible assignment options, including StringLike
and the
ability to exclude resources from your backup plan, use Conditions
(with an "s" on the end) for your
BackupSelection
.
conditionType
- An operation applied to a key-value pair used to assign resources to your backup plan. Condition only
supports StringEquals
. For more flexible assignment options, including
StringLike
and the ability to exclude resources from your backup plan, use
Conditions
(with an "s" on the end) for your
BackupSelection
.ConditionType
public void setConditionKey(String conditionKey)
The key in a key-value pair. For example, in the tag Department: Accounting
, Department
is the key.
conditionKey
- The key in a key-value pair. For example, in the tag Department: Accounting
,
Department
is the key.public String getConditionKey()
The key in a key-value pair. For example, in the tag Department: Accounting
, Department
is the key.
Department: Accounting
,
Department
is the key.public Condition withConditionKey(String conditionKey)
The key in a key-value pair. For example, in the tag Department: Accounting
, Department
is the key.
conditionKey
- The key in a key-value pair. For example, in the tag Department: Accounting
,
Department
is the key.public void setConditionValue(String conditionValue)
The value in a key-value pair. For example, in the tag Department: Accounting
,
Accounting
is the value.
conditionValue
- The value in a key-value pair. For example, in the tag Department: Accounting
,
Accounting
is the value.public String getConditionValue()
The value in a key-value pair. For example, in the tag Department: Accounting
,
Accounting
is the value.
Department: Accounting
,
Accounting
is the value.public Condition withConditionValue(String conditionValue)
The value in a key-value pair. For example, in the tag Department: Accounting
,
Accounting
is the value.
conditionValue
- The value in a key-value pair. For example, in the tag Department: Accounting
,
Accounting
is the value.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.