@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExperimentTemplateStopCondition extends Object implements Serializable, Cloneable, StructuredPojo
Describes a stop condition for an experiment template.
Constructor and Description |
---|
ExperimentTemplateStopCondition() |
Modifier and Type | Method and Description |
---|---|
ExperimentTemplateStopCondition |
clone() |
boolean |
equals(Object obj) |
String |
getSource()
The source for the stop condition.
|
String |
getValue()
The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSource(String source)
The source for the stop condition.
|
void |
setValue(String value)
The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.
|
String |
toString()
Returns a string representation of this object.
|
ExperimentTemplateStopCondition |
withSource(String source)
The source for the stop condition.
|
ExperimentTemplateStopCondition |
withValue(String value)
The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.
|
public void setSource(String source)
The source for the stop condition.
source
- The source for the stop condition.public String getSource()
The source for the stop condition.
public ExperimentTemplateStopCondition withSource(String source)
The source for the stop condition.
source
- The source for the stop condition.public void setValue(String value)
The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.
value
- The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.public String getValue()
The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.
public ExperimentTemplateStopCondition withValue(String value)
The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.
value
- The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.public String toString()
toString
in class Object
Object.toString()
public ExperimentTemplateStopCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.