@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleGroupVariablesPortSetsDetails extends Object implements Serializable, Cloneable, StructuredPojo
A list of port ranges.
Constructor and Description |
---|
RuleGroupVariablesPortSetsDetails() |
Modifier and Type | Method and Description |
---|---|
RuleGroupVariablesPortSetsDetails |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDefinition()
The list of port ranges.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefinition(Collection<String> definition)
The list of port ranges.
|
String |
toString()
Returns a string representation of this object.
|
RuleGroupVariablesPortSetsDetails |
withDefinition(Collection<String> definition)
The list of port ranges.
|
RuleGroupVariablesPortSetsDetails |
withDefinition(String... definition)
The list of port ranges.
|
public List<String> getDefinition()
The list of port ranges.
public void setDefinition(Collection<String> definition)
The list of port ranges.
definition
- The list of port ranges.public RuleGroupVariablesPortSetsDetails withDefinition(String... definition)
The list of port ranges.
NOTE: This method appends the values to the existing list (if any). Use
setDefinition(java.util.Collection)
or withDefinition(java.util.Collection)
if you want to
override the existing values.
definition
- The list of port ranges.public RuleGroupVariablesPortSetsDetails withDefinition(Collection<String> definition)
The list of port ranges.
definition
- The list of port ranges.public String toString()
toString
in class Object
Object.toString()
public RuleGroupVariablesPortSetsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.