@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParameterDetail extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about a parameter in a function for an action group.
This data type is used in the following API operations:
| Constructor and Description |
|---|
ParameterDetail() |
| Modifier and Type | Method and Description |
|---|---|
ParameterDetail |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the parameter.
|
Boolean |
getRequired()
Whether the parameter is required for the agent to complete the function for action group invocation.
|
String |
getType()
The data type of the parameter.
|
int |
hashCode() |
Boolean |
isRequired()
Whether the parameter is required for the agent to complete the function for action group invocation.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDescription(String description)
A description of the parameter.
|
void |
setRequired(Boolean required)
Whether the parameter is required for the agent to complete the function for action group invocation.
|
void |
setType(String type)
The data type of the parameter.
|
String |
toString()
Returns a string representation of this object.
|
ParameterDetail |
withDescription(String description)
A description of the parameter.
|
ParameterDetail |
withRequired(Boolean required)
Whether the parameter is required for the agent to complete the function for action group invocation.
|
ParameterDetail |
withType(String type)
The data type of the parameter.
|
ParameterDetail |
withType(Type type)
The data type of the parameter.
|
public void setDescription(String description)
A description of the parameter. Helps the foundation model determine how to elicit the parameters from the user.
description - A description of the parameter. Helps the foundation model determine how to elicit the parameters from the
user.public String getDescription()
A description of the parameter. Helps the foundation model determine how to elicit the parameters from the user.
public ParameterDetail withDescription(String description)
A description of the parameter. Helps the foundation model determine how to elicit the parameters from the user.
description - A description of the parameter. Helps the foundation model determine how to elicit the parameters from the
user.public void setRequired(Boolean required)
Whether the parameter is required for the agent to complete the function for action group invocation.
required - Whether the parameter is required for the agent to complete the function for action group invocation.public Boolean getRequired()
Whether the parameter is required for the agent to complete the function for action group invocation.
public ParameterDetail withRequired(Boolean required)
Whether the parameter is required for the agent to complete the function for action group invocation.
required - Whether the parameter is required for the agent to complete the function for action group invocation.public Boolean isRequired()
Whether the parameter is required for the agent to complete the function for action group invocation.
public void setType(String type)
The data type of the parameter.
type - The data type of the parameter.Typepublic String getType()
The data type of the parameter.
Typepublic ParameterDetail withType(String type)
The data type of the parameter.
type - The data type of the parameter.Typepublic ParameterDetail withType(Type type)
The data type of the parameter.
type - The data type of the parameter.Typepublic String toString()
toString in class ObjectObject.toString()public ParameterDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.