@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ToolSpecification extends Object implements Serializable, Cloneable, StructuredPojo
The specification for the tool.
Constructor and Description |
---|
ToolSpecification() |
Modifier and Type | Method and Description |
---|---|
ToolSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description for the tool.
|
ToolInputSchema |
getInputSchema()
The input schema for the tool in JSON format.
|
String |
getName()
The name for the tool.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The description for the tool.
|
void |
setInputSchema(ToolInputSchema inputSchema)
The input schema for the tool in JSON format.
|
void |
setName(String name)
The name for the tool.
|
String |
toString()
Returns a string representation of this object.
|
ToolSpecification |
withDescription(String description)
The description for the tool.
|
ToolSpecification |
withInputSchema(ToolInputSchema inputSchema)
The input schema for the tool in JSON format.
|
ToolSpecification |
withName(String name)
The name for the tool.
|
public void setName(String name)
The name for the tool.
name
- The name for the tool.public String getName()
The name for the tool.
public ToolSpecification withName(String name)
The name for the tool.
name
- The name for the tool.public void setDescription(String description)
The description for the tool.
description
- The description for the tool.public String getDescription()
The description for the tool.
public ToolSpecification withDescription(String description)
The description for the tool.
description
- The description for the tool.public void setInputSchema(ToolInputSchema inputSchema)
The input schema for the tool in JSON format.
inputSchema
- The input schema for the tool in JSON format.public ToolInputSchema getInputSchema()
The input schema for the tool in JSON format.
public ToolSpecification withInputSchema(ToolInputSchema inputSchema)
The input schema for the tool in JSON format.
inputSchema
- The input schema for the tool in JSON format.public String toString()
toString
in class Object
Object.toString()
public ToolSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.