@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProtocolsListsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListProtocolsListsResult() |
Modifier and Type | Method and Description |
---|---|
ListProtocolsListsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If you specify a value for
MaxResults in your list request, and you have more objects than the
maximum, Firewall Manager returns this token in the response. |
List<ProtocolsListDataSummary> |
getProtocolsLists()
An array of
ProtocolsListDataSummary objects. |
int |
hashCode() |
void |
setNextToken(String nextToken)
If you specify a value for
MaxResults in your list request, and you have more objects than the
maximum, Firewall Manager returns this token in the response. |
void |
setProtocolsLists(Collection<ProtocolsListDataSummary> protocolsLists)
An array of
ProtocolsListDataSummary objects. |
String |
toString()
Returns a string representation of this object.
|
ListProtocolsListsResult |
withNextToken(String nextToken)
If you specify a value for
MaxResults in your list request, and you have more objects than the
maximum, Firewall Manager returns this token in the response. |
ListProtocolsListsResult |
withProtocolsLists(Collection<ProtocolsListDataSummary> protocolsLists)
An array of
ProtocolsListDataSummary objects. |
ListProtocolsListsResult |
withProtocolsLists(ProtocolsListDataSummary... protocolsLists)
An array of
ProtocolsListDataSummary objects. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ProtocolsListDataSummary> getProtocolsLists()
An array of ProtocolsListDataSummary
objects.
ProtocolsListDataSummary
objects.public void setProtocolsLists(Collection<ProtocolsListDataSummary> protocolsLists)
An array of ProtocolsListDataSummary
objects.
protocolsLists
- An array of ProtocolsListDataSummary
objects.public ListProtocolsListsResult withProtocolsLists(ProtocolsListDataSummary... protocolsLists)
An array of ProtocolsListDataSummary
objects.
NOTE: This method appends the values to the existing list (if any). Use
setProtocolsLists(java.util.Collection)
or withProtocolsLists(java.util.Collection)
if you want
to override the existing values.
protocolsLists
- An array of ProtocolsListDataSummary
objects.public ListProtocolsListsResult withProtocolsLists(Collection<ProtocolsListDataSummary> protocolsLists)
An array of ProtocolsListDataSummary
objects.
protocolsLists
- An array of ProtocolsListDataSummary
objects.public void setNextToken(String nextToken)
If you specify a value for MaxResults
in your list request, and you have more objects than the
maximum, Firewall Manager returns this token in the response. You can use this token in subsequent requests to
retrieve the next batch of objects.
nextToken
- If you specify a value for MaxResults
in your list request, and you have more objects than
the maximum, Firewall Manager returns this token in the response. You can use this token in subsequent
requests to retrieve the next batch of objects.public String getNextToken()
If you specify a value for MaxResults
in your list request, and you have more objects than the
maximum, Firewall Manager returns this token in the response. You can use this token in subsequent requests to
retrieve the next batch of objects.
MaxResults
in your list request, and you have more objects than
the maximum, Firewall Manager returns this token in the response. You can use this token in subsequent
requests to retrieve the next batch of objects.public ListProtocolsListsResult withNextToken(String nextToken)
If you specify a value for MaxResults
in your list request, and you have more objects than the
maximum, Firewall Manager returns this token in the response. You can use this token in subsequent requests to
retrieve the next batch of objects.
nextToken
- If you specify a value for MaxResults
in your list request, and you have more objects than
the maximum, Firewall Manager returns this token in the response. You can use this token in subsequent
requests to retrieve the next batch of objects.public String toString()
toString
in class Object
Object.toString()
public ListProtocolsListsResult clone()