@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActionParameter extends Object implements Serializable, Cloneable, StructuredPojo
Describes a parameter for an action.
Constructor and Description |
---|
ActionParameter() |
Modifier and Type | Method and Description |
---|---|
ActionParameter |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The parameter description.
|
Boolean |
getRequired()
Indicates whether the parameter is required.
|
int |
hashCode() |
Boolean |
isRequired()
Indicates whether the parameter is required.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The parameter description.
|
void |
setRequired(Boolean required)
Indicates whether the parameter is required.
|
String |
toString()
Returns a string representation of this object.
|
ActionParameter |
withDescription(String description)
The parameter description.
|
ActionParameter |
withRequired(Boolean required)
Indicates whether the parameter is required.
|
public void setDescription(String description)
The parameter description.
description
- The parameter description.public String getDescription()
The parameter description.
public ActionParameter withDescription(String description)
The parameter description.
description
- The parameter description.public void setRequired(Boolean required)
Indicates whether the parameter is required.
required
- Indicates whether the parameter is required.public Boolean getRequired()
Indicates whether the parameter is required.
public ActionParameter withRequired(Boolean required)
Indicates whether the parameter is required.
required
- Indicates whether the parameter is required.public Boolean isRequired()
Indicates whether the parameter is required.
public String toString()
toString
in class Object
Object.toString()
public ActionParameter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.