@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSecurityPoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSecurityPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
ListSecurityPoliciesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
When you can get additional results from the
ListSecurityPolicies operation, a
NextToken parameter is returned in the output. |
List<String> |
getSecurityPolicyNames()
An array of security policies that were listed.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
When you can get additional results from the
ListSecurityPolicies operation, a
NextToken parameter is returned in the output. |
void |
setSecurityPolicyNames(Collection<String> securityPolicyNames)
An array of security policies that were listed.
|
String |
toString()
Returns a string representation of this object.
|
ListSecurityPoliciesResult |
withNextToken(String nextToken)
When you can get additional results from the
ListSecurityPolicies operation, a
NextToken parameter is returned in the output. |
ListSecurityPoliciesResult |
withSecurityPolicyNames(Collection<String> securityPolicyNames)
An array of security policies that were listed.
|
ListSecurityPoliciesResult |
withSecurityPolicyNames(String... securityPolicyNames)
An array of security policies that were listed.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
When you can get additional results from the ListSecurityPolicies
operation, a
NextToken
parameter is returned in the output. In a following command, you can pass in the
NextToken
parameter to continue listing security policies.
nextToken
- When you can get additional results from the ListSecurityPolicies
operation, a
NextToken
parameter is returned in the output. In a following command, you can pass in the
NextToken
parameter to continue listing security policies.public String getNextToken()
When you can get additional results from the ListSecurityPolicies
operation, a
NextToken
parameter is returned in the output. In a following command, you can pass in the
NextToken
parameter to continue listing security policies.
ListSecurityPolicies
operation, a
NextToken
parameter is returned in the output. In a following command, you can pass in the
NextToken
parameter to continue listing security policies.public ListSecurityPoliciesResult withNextToken(String nextToken)
When you can get additional results from the ListSecurityPolicies
operation, a
NextToken
parameter is returned in the output. In a following command, you can pass in the
NextToken
parameter to continue listing security policies.
nextToken
- When you can get additional results from the ListSecurityPolicies
operation, a
NextToken
parameter is returned in the output. In a following command, you can pass in the
NextToken
parameter to continue listing security policies.public List<String> getSecurityPolicyNames()
An array of security policies that were listed.
public void setSecurityPolicyNames(Collection<String> securityPolicyNames)
An array of security policies that were listed.
securityPolicyNames
- An array of security policies that were listed.public ListSecurityPoliciesResult withSecurityPolicyNames(String... securityPolicyNames)
An array of security policies that were listed.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityPolicyNames(java.util.Collection)
or withSecurityPolicyNames(java.util.Collection)
if you want to override the existing values.
securityPolicyNames
- An array of security policies that were listed.public ListSecurityPoliciesResult withSecurityPolicyNames(Collection<String> securityPolicyNames)
An array of security policies that were listed.
securityPolicyNames
- An array of security policies that were listed.public String toString()
toString
in class Object
Object.toString()
public ListSecurityPoliciesResult clone()