@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyParameter extends Object implements Serializable, Cloneable, StructuredPojo
Name of the parameter from the Review policy.
Constructor and Description |
---|
PolicyParameter() |
Modifier and Type | Method and Description |
---|---|
PolicyParameter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
Name of the parameter from the list of Review Polices.
|
List<ParameterMapEntry> |
getMapEntries()
List of ParameterMapEntry objects.
|
List<String> |
getValues()
The list of values of the Parameter
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
Name of the parameter from the list of Review Polices.
|
void |
setMapEntries(Collection<ParameterMapEntry> mapEntries)
List of ParameterMapEntry objects.
|
void |
setValues(Collection<String> values)
The list of values of the Parameter
|
String |
toString()
Returns a string representation of this object.
|
PolicyParameter |
withKey(String key)
Name of the parameter from the list of Review Polices.
|
PolicyParameter |
withMapEntries(Collection<ParameterMapEntry> mapEntries)
List of ParameterMapEntry objects.
|
PolicyParameter |
withMapEntries(ParameterMapEntry... mapEntries)
List of ParameterMapEntry objects.
|
PolicyParameter |
withValues(Collection<String> values)
The list of values of the Parameter
|
PolicyParameter |
withValues(String... values)
The list of values of the Parameter
|
public void setKey(String key)
Name of the parameter from the list of Review Polices.
key
- Name of the parameter from the list of Review Polices.public String getKey()
Name of the parameter from the list of Review Polices.
public PolicyParameter withKey(String key)
Name of the parameter from the list of Review Polices.
key
- Name of the parameter from the list of Review Polices.public List<String> getValues()
The list of values of the Parameter
public void setValues(Collection<String> values)
The list of values of the Parameter
values
- The list of values of the Parameterpublic PolicyParameter withValues(String... values)
The list of values of the Parameter
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The list of values of the Parameterpublic PolicyParameter withValues(Collection<String> values)
The list of values of the Parameter
values
- The list of values of the Parameterpublic List<ParameterMapEntry> getMapEntries()
List of ParameterMapEntry objects.
public void setMapEntries(Collection<ParameterMapEntry> mapEntries)
List of ParameterMapEntry objects.
mapEntries
- List of ParameterMapEntry objects.public PolicyParameter withMapEntries(ParameterMapEntry... mapEntries)
List of ParameterMapEntry objects.
NOTE: This method appends the values to the existing list (if any). Use
setMapEntries(java.util.Collection)
or withMapEntries(java.util.Collection)
if you want to
override the existing values.
mapEntries
- List of ParameterMapEntry objects.public PolicyParameter withMapEntries(Collection<ParameterMapEntry> mapEntries)
List of ParameterMapEntry objects.
mapEntries
- List of ParameterMapEntry objects.public String toString()
toString
in class Object
Object.toString()
public PolicyParameter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.