@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CanaryRunConfigInput extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains input information for a canary run.
Constructor and Description |
---|
CanaryRunConfigInput() |
Modifier and Type | Method and Description |
---|---|
CanaryRunConfigInput |
clone() |
boolean |
equals(Object obj) |
Integer |
getMemoryInMB()
The maximum amount of memory available to the canary while it is running, in MB.
|
Integer |
getTimeoutInSeconds()
How long the canary is allowed to run before it must stop.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMemoryInMB(Integer memoryInMB)
The maximum amount of memory available to the canary while it is running, in MB.
|
void |
setTimeoutInSeconds(Integer timeoutInSeconds)
How long the canary is allowed to run before it must stop.
|
String |
toString()
Returns a string representation of this object.
|
CanaryRunConfigInput |
withMemoryInMB(Integer memoryInMB)
The maximum amount of memory available to the canary while it is running, in MB.
|
CanaryRunConfigInput |
withTimeoutInSeconds(Integer timeoutInSeconds)
How long the canary is allowed to run before it must stop.
|
public void setTimeoutInSeconds(Integer timeoutInSeconds)
How long the canary is allowed to run before it must stop. If you omit this field, the frequency of the canary is used as this value, up to a maximum of 14 minutes.
timeoutInSeconds
- How long the canary is allowed to run before it must stop. If you omit this field, the frequency of the
canary is used as this value, up to a maximum of 14 minutes.public Integer getTimeoutInSeconds()
How long the canary is allowed to run before it must stop. If you omit this field, the frequency of the canary is used as this value, up to a maximum of 14 minutes.
public CanaryRunConfigInput withTimeoutInSeconds(Integer timeoutInSeconds)
How long the canary is allowed to run before it must stop. If you omit this field, the frequency of the canary is used as this value, up to a maximum of 14 minutes.
timeoutInSeconds
- How long the canary is allowed to run before it must stop. If you omit this field, the frequency of the
canary is used as this value, up to a maximum of 14 minutes.public void setMemoryInMB(Integer memoryInMB)
The maximum amount of memory available to the canary while it is running, in MB. The value you specify must be a multiple of 64.
memoryInMB
- The maximum amount of memory available to the canary while it is running, in MB. The value you specify
must be a multiple of 64.public Integer getMemoryInMB()
The maximum amount of memory available to the canary while it is running, in MB. The value you specify must be a multiple of 64.
public CanaryRunConfigInput withMemoryInMB(Integer memoryInMB)
The maximum amount of memory available to the canary while it is running, in MB. The value you specify must be a multiple of 64.
memoryInMB
- The maximum amount of memory available to the canary while it is running, in MB. The value you specify
must be a multiple of 64.public String toString()
toString
in class Object
Object.toString()
public CanaryRunConfigInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.