@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CanaryRunConfigOutput extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains information about a canary run.
Constructor and Description |
---|
CanaryRunConfigOutput() |
Modifier and Type | Method and Description |
---|---|
CanaryRunConfigOutput |
clone() |
boolean |
equals(Object obj) |
Boolean |
getActiveTracing()
Displays whether this canary run used active X-Ray tracing.
|
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() |
Boolean |
isActiveTracing()
Displays whether this canary run used active X-Ray tracing.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActiveTracing(Boolean activeTracing)
Displays whether this canary run used active X-Ray tracing.
|
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 |
withActiveTracing(Boolean activeTracing)
Displays whether this canary run used active X-Ray tracing.
|
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. This value must be a multiple of 64.
memoryInMB
- The maximum amount of memory available to the canary while it is running, in MB. This value must be a
multiple of 64.public Integer getMemoryInMB()
The maximum amount of memory available to the canary while it is running, in MB. This value 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. This value must be a multiple of 64.
memoryInMB
- The maximum amount of memory available to the canary while it is running, in MB. This value must be a
multiple of 64.public void setActiveTracing(Boolean activeTracing)
Displays whether this canary run used active X-Ray tracing.
activeTracing
- Displays whether this canary run used active X-Ray tracing.public Boolean getActiveTracing()
Displays whether this canary run used active X-Ray tracing.
public CanaryRunConfigOutput withActiveTracing(Boolean activeTracing)
Displays whether this canary run used active X-Ray tracing.
activeTracing
- Displays whether this canary run used active X-Ray tracing.public Boolean isActiveTracing()
Displays whether this canary run used active X-Ray tracing.
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.