@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActionReviewPayloadField extends Object implements Serializable, Cloneable, StructuredPojo
A user input field in an plugin action review payload.
| Constructor and Description |
|---|
ActionReviewPayloadField() |
| Modifier and Type | Method and Description |
|---|---|
ActionReviewPayloadField |
clone() |
boolean |
equals(Object obj) |
List<ActionReviewPayloadFieldAllowedValue> |
getAllowedValues()
Information about the field values that an end user can use to provide to Amazon Q for Amazon Q to perform the
requested plugin action.
|
String |
getDisplayName()
The name of the field.
|
Integer |
getDisplayOrder()
The display order of fields in a payload.
|
Boolean |
getRequired()
Information about whether the field is required.
|
String |
getType()
The type of field.
|
int |
hashCode() |
Boolean |
isRequired()
Information about whether the field is required.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAllowedValues(Collection<ActionReviewPayloadFieldAllowedValue> allowedValues)
Information about the field values that an end user can use to provide to Amazon Q for Amazon Q to perform the
requested plugin action.
|
void |
setDisplayName(String displayName)
The name of the field.
|
void |
setDisplayOrder(Integer displayOrder)
The display order of fields in a payload.
|
void |
setRequired(Boolean required)
Information about whether the field is required.
|
void |
setType(String type)
The type of field.
|
String |
toString()
Returns a string representation of this object.
|
ActionReviewPayloadField |
withAllowedValues(ActionReviewPayloadFieldAllowedValue... allowedValues)
Information about the field values that an end user can use to provide to Amazon Q for Amazon Q to perform the
requested plugin action.
|
ActionReviewPayloadField |
withAllowedValues(Collection<ActionReviewPayloadFieldAllowedValue> allowedValues)
Information about the field values that an end user can use to provide to Amazon Q for Amazon Q to perform the
requested plugin action.
|
ActionReviewPayloadField |
withDisplayName(String displayName)
The name of the field.
|
ActionReviewPayloadField |
withDisplayOrder(Integer displayOrder)
The display order of fields in a payload.
|
ActionReviewPayloadField |
withRequired(Boolean required)
Information about whether the field is required.
|
ActionReviewPayloadField |
withType(ActionPayloadFieldType type)
The type of field.
|
ActionReviewPayloadField |
withType(String type)
The type of field.
|
public List<ActionReviewPayloadFieldAllowedValue> getAllowedValues()
Information about the field values that an end user can use to provide to Amazon Q for Amazon Q to perform the requested plugin action.
public void setAllowedValues(Collection<ActionReviewPayloadFieldAllowedValue> allowedValues)
Information about the field values that an end user can use to provide to Amazon Q for Amazon Q to perform the requested plugin action.
allowedValues - Information about the field values that an end user can use to provide to Amazon Q for Amazon Q to perform
the requested plugin action.public ActionReviewPayloadField withAllowedValues(ActionReviewPayloadFieldAllowedValue... allowedValues)
Information about the field values that an end user can use to provide to Amazon Q for Amazon Q to perform the requested plugin action.
NOTE: This method appends the values to the existing list (if any). Use
setAllowedValues(java.util.Collection) or withAllowedValues(java.util.Collection) if you want
to override the existing values.
allowedValues - Information about the field values that an end user can use to provide to Amazon Q for Amazon Q to perform
the requested plugin action.public ActionReviewPayloadField withAllowedValues(Collection<ActionReviewPayloadFieldAllowedValue> allowedValues)
Information about the field values that an end user can use to provide to Amazon Q for Amazon Q to perform the requested plugin action.
allowedValues - Information about the field values that an end user can use to provide to Amazon Q for Amazon Q to perform
the requested plugin action.public void setDisplayName(String displayName)
The name of the field.
displayName - The name of the field.public String getDisplayName()
The name of the field.
public ActionReviewPayloadField withDisplayName(String displayName)
The name of the field.
displayName - The name of the field.public void setDisplayOrder(Integer displayOrder)
The display order of fields in a payload.
displayOrder - The display order of fields in a payload.public Integer getDisplayOrder()
The display order of fields in a payload.
public ActionReviewPayloadField withDisplayOrder(Integer displayOrder)
The display order of fields in a payload.
displayOrder - The display order of fields in a payload.public void setRequired(Boolean required)
Information about whether the field is required.
required - Information about whether the field is required.public Boolean getRequired()
Information about whether the field is required.
public ActionReviewPayloadField withRequired(Boolean required)
Information about whether the field is required.
required - Information about whether the field is required.public Boolean isRequired()
Information about whether the field is required.
public void setType(String type)
The type of field.
type - The type of field.ActionPayloadFieldTypepublic String getType()
The type of field.
ActionPayloadFieldTypepublic ActionReviewPayloadField withType(String type)
The type of field.
type - The type of field.ActionPayloadFieldTypepublic ActionReviewPayloadField withType(ActionPayloadFieldType type)
The type of field.
type - The type of field.ActionPayloadFieldTypepublic String toString()
toString in class ObjectObject.toString()public ActionReviewPayloadField clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.