@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobStoppingCondition extends Object implements Serializable, Cloneable, StructuredPojo
Specifies limits for how long an Amazon Braket job can run.
Constructor and Description |
---|
JobStoppingCondition() |
Modifier and Type | Method and Description |
---|---|
JobStoppingCondition |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxRuntimeInSeconds()
The maximum length of time, in seconds, that an Amazon Braket job can run.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxRuntimeInSeconds(Integer maxRuntimeInSeconds)
The maximum length of time, in seconds, that an Amazon Braket job can run.
|
String |
toString()
Returns a string representation of this object.
|
JobStoppingCondition |
withMaxRuntimeInSeconds(Integer maxRuntimeInSeconds)
The maximum length of time, in seconds, that an Amazon Braket job can run.
|
public void setMaxRuntimeInSeconds(Integer maxRuntimeInSeconds)
The maximum length of time, in seconds, that an Amazon Braket job can run.
maxRuntimeInSeconds
- The maximum length of time, in seconds, that an Amazon Braket job can run.public Integer getMaxRuntimeInSeconds()
The maximum length of time, in seconds, that an Amazon Braket job can run.
public JobStoppingCondition withMaxRuntimeInSeconds(Integer maxRuntimeInSeconds)
The maximum length of time, in seconds, that an Amazon Braket job can run.
maxRuntimeInSeconds
- The maximum length of time, in seconds, that an Amazon Braket job can run.public String toString()
toString
in class Object
Object.toString()
public JobStoppingCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.