@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.
Conditions are used to filter resources in a selection that is assigned to a backup plan.
| 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, such as
StringEquals, that is applied to a key-value pair used to filter resources in
a selection. |
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, such as
StringEquals, that is applied to a key-value pair used to filter resources in
a selection. |
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, such as
StringEquals, that is applied to a key-value pair used to filter resources in
a selection. |
Condition |
withConditionType(String conditionType)
An operation, such as
StringEquals, that is applied to a key-value pair used to filter resources in
a selection. |
Condition |
withConditionValue(String conditionValue)
The value in a key-value pair.
|
public void setConditionType(String conditionType)
An operation, such as StringEquals, that is applied to a key-value pair used to filter resources in
a selection.
conditionType - An operation, such as StringEquals, that is applied to a key-value pair used to filter
resources in a selection.ConditionTypepublic String getConditionType()
An operation, such as StringEquals, that is applied to a key-value pair used to filter resources in
a selection.
StringEquals, that is applied to a key-value pair used to filter
resources in a selection.ConditionTypepublic Condition withConditionType(String conditionType)
An operation, such as StringEquals, that is applied to a key-value pair used to filter resources in
a selection.
conditionType - An operation, such as StringEquals, that is applied to a key-value pair used to filter
resources in a selection.ConditionTypepublic Condition withConditionType(ConditionType conditionType)
An operation, such as StringEquals, that is applied to a key-value pair used to filter resources in
a selection.
conditionType - An operation, such as StringEquals, that is applied to a key-value pair used to filter
resources in a selection.ConditionTypepublic void setConditionKey(String conditionKey)
The key in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting",
"ec2:ResourceTag/Department" is the key.
conditionKey - The key in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting",
"ec2:ResourceTag/Department" is the key.public String getConditionKey()
The key in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting",
"ec2:ResourceTag/Department" is the key.
"ec2:ResourceTag/Department": "accounting",
"ec2:ResourceTag/Department" is the key.public Condition withConditionKey(String conditionKey)
The key in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting",
"ec2:ResourceTag/Department" is the key.
conditionKey - The key in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting",
"ec2:ResourceTag/Department" is the key.public void setConditionValue(String conditionValue)
The value in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting",
"accounting" is the value.
conditionValue - The value in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting",
"accounting" is the value.public String getConditionValue()
The value in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting",
"accounting" is the value.
"ec2:ResourceTag/Department": "accounting",
"accounting" is the value.public Condition withConditionValue(String conditionValue)
The value in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting",
"accounting" is the value.
conditionValue - The value in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting",
"accounting" is the value.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.