@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FunctionSchema extends Object implements Serializable, Cloneable, StructuredPojo
Defines functions that each define parameters that the agent needs to invoke from the user. Each function represents an action in an action group.
This data type is used in the following API operations:
Constructor and Description |
---|
FunctionSchema() |
Modifier and Type | Method and Description |
---|---|
FunctionSchema |
clone() |
boolean |
equals(Object obj) |
List<Function> |
getFunctions()
A list of functions that each define an action in the action group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFunctions(Collection<Function> functions)
A list of functions that each define an action in the action group.
|
String |
toString()
Returns a string representation of this object.
|
FunctionSchema |
withFunctions(Collection<Function> functions)
A list of functions that each define an action in the action group.
|
FunctionSchema |
withFunctions(Function... functions)
A list of functions that each define an action in the action group.
|
public List<Function> getFunctions()
A list of functions that each define an action in the action group.
public void setFunctions(Collection<Function> functions)
A list of functions that each define an action in the action group.
functions
- A list of functions that each define an action in the action group.public FunctionSchema withFunctions(Function... functions)
A list of functions that each define an action in the action group.
NOTE: This method appends the values to the existing list (if any). Use
setFunctions(java.util.Collection)
or withFunctions(java.util.Collection)
if you want to
override the existing values.
functions
- A list of functions that each define an action in the action group.public FunctionSchema withFunctions(Collection<Function> functions)
A list of functions that each define an action in the action group.
functions
- A list of functions that each define an action in the action group.public String toString()
toString
in class Object
Object.toString()
public FunctionSchema clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.