@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParameterConstraints extends Object implements Serializable, Cloneable, StructuredPojo
Validation constraints imposed on parameters of a request (path, query string, headers).
| Constructor and Description |
|---|
ParameterConstraints() |
| Modifier and Type | Method and Description |
|---|---|
ParameterConstraints |
clone() |
boolean |
equals(Object obj) |
Boolean |
getRequired()
Whether or not the parameter is required.
|
int |
hashCode() |
Boolean |
isRequired()
Whether or not the parameter is required.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRequired(Boolean required)
Whether or not the parameter is required.
|
String |
toString()
Returns a string representation of this object.
|
ParameterConstraints |
withRequired(Boolean required)
Whether or not the parameter is required.
|
public void setRequired(Boolean required)
Whether or not the parameter is required.
required - Whether or not the parameter is required.public Boolean getRequired()
Whether or not the parameter is required.
public ParameterConstraints withRequired(Boolean required)
Whether or not the parameter is required.
required - Whether or not the parameter is required.public Boolean isRequired()
Whether or not the parameter is required.
public String toString()
toString in class ObjectObject.toString()public ParameterConstraints clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.