@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParameterConstraints extends Object implements Serializable, Cloneable, StructuredPojo
The constraints that the administrator has put on the parameter.
Constructor and Description |
---|
ParameterConstraints() |
Modifier and Type | Method and Description |
---|---|
ParameterConstraints |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAllowedValues()
The values that the administrator has allowed for the parameter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowedValues(Collection<String> allowedValues)
The values that the administrator has allowed for the parameter.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ParameterConstraints |
withAllowedValues(Collection<String> allowedValues)
The values that the administrator has allowed for the parameter.
|
ParameterConstraints |
withAllowedValues(String... allowedValues)
The values that the administrator has allowed for the parameter.
|
public List<String> getAllowedValues()
The values that the administrator has allowed for the parameter.
public void setAllowedValues(Collection<String> allowedValues)
The values that the administrator has allowed for the parameter.
allowedValues
- The values that the administrator has allowed for the parameter.public ParameterConstraints withAllowedValues(String... allowedValues)
The values that the administrator has allowed for the parameter.
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
- The values that the administrator has allowed for the parameter.public ParameterConstraints withAllowedValues(Collection<String> allowedValues)
The values that the administrator has allowed for the parameter.
allowedValues
- The values that the administrator has allowed for the parameter.public String toString()
toString
in class Object
Object.toString()
public ParameterConstraints clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.