@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SpecificToolChoice extends Object implements Serializable, Cloneable, StructuredPojo
The model must request a specific tool. For example, {"tool" : {"name" : "Your tool name"}}
.
This field is only supported by Anthropic Claude 3 models.
Constructor and Description |
---|
SpecificToolChoice() |
Modifier and Type | Method and Description |
---|---|
SpecificToolChoice |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the tool that the model must request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the tool that the model must request.
|
String |
toString()
Returns a string representation of this object.
|
SpecificToolChoice |
withName(String name)
The name of the tool that the model must request.
|
public void setName(String name)
The name of the tool that the model must request.
name
- The name of the tool that the model must request.public String getName()
The name of the tool that the model must request.
public SpecificToolChoice withName(String name)
The name of the tool that the model must request.
name
- The name of the tool that the model must request.public String toString()
toString
in class Object
Object.toString()
public SpecificToolChoice clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.