@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateExperimentTemplateStopConditionInput extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a stop condition for an experiment template.
| Constructor and Description |
|---|
CreateExperimentTemplateStopConditionInput() |
| Modifier and Type | Method and Description |
|---|---|
CreateExperimentTemplateStopConditionInput |
clone() |
boolean |
equals(Object obj) |
String |
getSource()
The source for the stop condition.
|
String |
getValue()
The Amazon Resource Name (ARN) of the CloudWatch alarm.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
CreateExperimentTemplateStopConditionInput |
withSource(String source)
The source for the stop condition.
|
CreateExperimentTemplateStopConditionInput |
withValue(String value)
The Amazon Resource Name (ARN) of the CloudWatch alarm.
|
public CreateExperimentTemplateStopConditionInput()
public void setSource(String source)
The source for the stop condition. Specify aws:cloudwatch:alarm if the stop condition is defined by
a CloudWatch alarm. Specify none if there is no stop condition.
source - The source for the stop condition. Specify aws:cloudwatch:alarm if the stop condition is
defined by a CloudWatch alarm. Specify none if there is no stop condition.public String getSource()
The source for the stop condition. Specify aws:cloudwatch:alarm if the stop condition is defined by
a CloudWatch alarm. Specify none if there is no stop condition.
aws:cloudwatch:alarm if the stop condition is
defined by a CloudWatch alarm. Specify none if there is no stop condition.public CreateExperimentTemplateStopConditionInput withSource(String source)
The source for the stop condition. Specify aws:cloudwatch:alarm if the stop condition is defined by
a CloudWatch alarm. Specify none if there is no stop condition.
source - The source for the stop condition. Specify aws:cloudwatch:alarm if the stop condition is
defined by a CloudWatch alarm. Specify none if there is no stop condition.public void setValue(String value)
The Amazon Resource Name (ARN) of the CloudWatch alarm. This is required if the source is a CloudWatch alarm.
value - The Amazon Resource Name (ARN) of the CloudWatch alarm. This is required if the source is a CloudWatch
alarm.public String getValue()
The Amazon Resource Name (ARN) of the CloudWatch alarm. This is required if the source is a CloudWatch alarm.
public CreateExperimentTemplateStopConditionInput withValue(String value)
The Amazon Resource Name (ARN) of the CloudWatch alarm. This is required if the source is a CloudWatch alarm.
value - The Amazon Resource Name (ARN) of the CloudWatch alarm. This is required if the source is a CloudWatch
alarm.public String toString()
toString in class ObjectObject.toString()public CreateExperimentTemplateStopConditionInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.