@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeploymentConditionalField extends Object implements Serializable, Cloneable, StructuredPojo
A field that details a condition of the specifications for a deployment.
Constructor and Description |
---|
DeploymentConditionalField() |
Modifier and Type | Method and Description |
---|---|
DeploymentConditionalField |
clone() |
boolean |
equals(Object obj) |
String |
getComparator()
The comparator of the condition.
|
String |
getName()
The name of the deployment condition.
|
String |
getValue()
The value of the condition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComparator(String comparator)
The comparator of the condition.
|
void |
setName(String name)
The name of the deployment condition.
|
void |
setValue(String value)
The value of the condition.
|
String |
toString()
Returns a string representation of this object.
|
DeploymentConditionalField |
withComparator(String comparator)
The comparator of the condition.
|
DeploymentConditionalField |
withName(String name)
The name of the deployment condition.
|
DeploymentConditionalField |
withValue(String value)
The value of the condition.
|
public void setComparator(String comparator)
The comparator of the condition.
Valid values: Equal | NotEqual
comparator
- The comparator of the condition.
Valid values: Equal | NotEqual
public String getComparator()
The comparator of the condition.
Valid values: Equal | NotEqual
Valid values: Equal | NotEqual
public DeploymentConditionalField withComparator(String comparator)
The comparator of the condition.
Valid values: Equal | NotEqual
comparator
- The comparator of the condition.
Valid values: Equal | NotEqual
public void setName(String name)
The name of the deployment condition.
name
- The name of the deployment condition.public String getName()
The name of the deployment condition.
public DeploymentConditionalField withName(String name)
The name of the deployment condition.
name
- The name of the deployment condition.public void setValue(String value)
The value of the condition.
value
- The value of the condition.public String getValue()
The value of the condition.
public DeploymentConditionalField withValue(String value)
The value of the condition.
value
- The value of the condition.public String toString()
toString
in class Object
Object.toString()
public DeploymentConditionalField clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.