Package com.anthropic.models.messages
Class ComputerWaitInput
-
- All Implemented Interfaces:
public final class ComputerWaitInputWait for a specified duration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classComputerWaitInput.BuilderA builder for ComputerWaitInput.
-
Method Summary
Modifier and Type Method Description final Longduration()Duration to wait, in seconds. final JsonField<Long>_duration()Returns the raw JSON value of duration. final Map<String, JsonValue>_additionalProperties()final ComputerWaitInput.BuildertoBuilder()final ComputerWaitInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ComputerWaitInput.Builderbuilder()Returns a mutable builder for constructing an instance of ComputerWaitInput. final static ComputerWaitInputof(Long duration)Returns an immutable instance of ComputerWaitInput with the required duration set to the given value. -
-
Method Detail
-
_duration
final JsonField<Long> _duration()
Returns the raw JSON value of duration.
Unlike duration, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ComputerWaitInput.Builder toBuilder()
-
validate
final ComputerWaitInput validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ComputerWaitInput.Builder builder()
Returns a mutable builder for constructing an instance of ComputerWaitInput.
The following fields are required:
.duration()
-
of
final static ComputerWaitInput of(Long duration)
Returns an immutable instance of ComputerWaitInput with the required duration set to the given value.
-
-
-
-