@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CanaryRunConfigOutput extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains information for a canary run.
Constructor and Description |
---|
CanaryRunConfigOutput() |
Modifier and Type | Method and Description |
---|---|
CanaryRunConfigOutput |
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.
|
CanaryRunConfigOutput |
withMemoryInMB(Integer memoryInMB)
The maximum amount of memory available to the canary while it is running, in MB.
|
CanaryRunConfigOutput |
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.
timeoutInSeconds
- How long the canary is allowed to run before it must stop.public Integer getTimeoutInSeconds()
How long the canary is allowed to run before it must stop.
public CanaryRunConfigOutput withTimeoutInSeconds(Integer timeoutInSeconds)
How long the canary is allowed to run before it must stop.
timeoutInSeconds
- How long the canary is allowed to run before it must stop.public void setMemoryInMB(Integer memoryInMB)
The maximum amount of memory available to the canary while it is running, in MB. The value you 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 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 must be a multiple of 64.
public CanaryRunConfigOutput withMemoryInMB(Integer memoryInMB)
The maximum amount of memory available to the canary while it is running, in MB. The value you 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 must be a
multiple of 64.public String toString()
toString
in class Object
Object.toString()
public CanaryRunConfigOutput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.