@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFirewallPoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListFirewallPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
ListFirewallPoliciesResult |
clone() |
boolean |
equals(Object obj) |
List<FirewallPolicyMetadata> |
getFirewallPolicies()
The metadata for the firewall policies.
|
String |
getNextToken()
When you request a list of objects with a
MaxResults setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken value in the response. |
int |
hashCode() |
void |
setFirewallPolicies(Collection<FirewallPolicyMetadata> firewallPolicies)
The metadata for the firewall policies.
|
void |
setNextToken(String nextToken)
When you request a list of objects with a
MaxResults setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken value in the response. |
String |
toString()
Returns a string representation of this object.
|
ListFirewallPoliciesResult |
withFirewallPolicies(Collection<FirewallPolicyMetadata> firewallPolicies)
The metadata for the firewall policies.
|
ListFirewallPoliciesResult |
withFirewallPolicies(FirewallPolicyMetadata... firewallPolicies)
The metadata for the firewall policies.
|
ListFirewallPoliciesResult |
withNextToken(String nextToken)
When you request a list of objects with a
MaxResults setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken value in the response. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
When you request a list of objects with a MaxResults
setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token returned from
the prior request in your next request.
nextToken
- When you request a list of objects with a MaxResults
setting, if the number of objects that
are still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token
returned from the prior request in your next request.public String getNextToken()
When you request a list of objects with a MaxResults
setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token returned from
the prior request in your next request.
MaxResults
setting, if the number of objects that
are still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token
returned from the prior request in your next request.public ListFirewallPoliciesResult withNextToken(String nextToken)
When you request a list of objects with a MaxResults
setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token returned from
the prior request in your next request.
nextToken
- When you request a list of objects with a MaxResults
setting, if the number of objects that
are still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token
returned from the prior request in your next request.public List<FirewallPolicyMetadata> getFirewallPolicies()
The metadata for the firewall policies. Depending on your setting for max results and the number of firewall policies that you have, this might not be the full list.
public void setFirewallPolicies(Collection<FirewallPolicyMetadata> firewallPolicies)
The metadata for the firewall policies. Depending on your setting for max results and the number of firewall policies that you have, this might not be the full list.
firewallPolicies
- The metadata for the firewall policies. Depending on your setting for max results and the number of
firewall policies that you have, this might not be the full list.public ListFirewallPoliciesResult withFirewallPolicies(FirewallPolicyMetadata... firewallPolicies)
The metadata for the firewall policies. Depending on your setting for max results and the number of firewall policies that you have, this might not be the full list.
NOTE: This method appends the values to the existing list (if any). Use
setFirewallPolicies(java.util.Collection)
or withFirewallPolicies(java.util.Collection)
if you
want to override the existing values.
firewallPolicies
- The metadata for the firewall policies. Depending on your setting for max results and the number of
firewall policies that you have, this might not be the full list.public ListFirewallPoliciesResult withFirewallPolicies(Collection<FirewallPolicyMetadata> firewallPolicies)
The metadata for the firewall policies. Depending on your setting for max results and the number of firewall policies that you have, this might not be the full list.
firewallPolicies
- The metadata for the firewall policies. Depending on your setting for max results and the number of
firewall policies that you have, this might not be the full list.public String toString()
toString
in class Object
Object.toString()
public ListFirewallPoliciesResult clone()