@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccessPoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAccessPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
ListAccessPoliciesResult |
clone() |
boolean |
equals(Object obj) |
List<AccessPolicy> |
getAccessPolicies()
The list of available access policies.
|
String |
getNextToken()
The
nextToken value returned from a previous paginated request, where maxResults was
used and the results exceeded the value of that parameter. |
int |
hashCode() |
void |
setAccessPolicies(Collection<AccessPolicy> accessPolicies)
The list of available access policies.
|
void |
setNextToken(String nextToken)
The
nextToken value returned from a previous paginated request, where maxResults was
used and the results exceeded the value of that parameter. |
String |
toString()
Returns a string representation of this object.
|
ListAccessPoliciesResult |
withAccessPolicies(AccessPolicy... accessPolicies)
The list of available access policies.
|
ListAccessPoliciesResult |
withAccessPolicies(Collection<AccessPolicy> accessPolicies)
The list of available access policies.
|
ListAccessPoliciesResult |
withNextToken(String nextToken)
The
nextToken value returned from a previous paginated request, where maxResults was
used and the results exceeded the value of that parameter. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AccessPolicy> getAccessPolicies()
The list of available access policies. You can't view the contents of an access policy using the API. To view the contents, see Access policy permissions in the Amazon EKS User Guide.
public void setAccessPolicies(Collection<AccessPolicy> accessPolicies)
The list of available access policies. You can't view the contents of an access policy using the API. To view the contents, see Access policy permissions in the Amazon EKS User Guide.
accessPolicies
- The list of available access policies. You can't view the contents of an access policy using the API. To
view the contents, see Access policy permissions in the Amazon EKS User Guide.public ListAccessPoliciesResult withAccessPolicies(AccessPolicy... accessPolicies)
The list of available access policies. You can't view the contents of an access policy using the API. To view the contents, see Access policy permissions in the Amazon EKS User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setAccessPolicies(java.util.Collection)
or withAccessPolicies(java.util.Collection)
if you want
to override the existing values.
accessPolicies
- The list of available access policies. You can't view the contents of an access policy using the API. To
view the contents, see Access policy permissions in the Amazon EKS User Guide.public ListAccessPoliciesResult withAccessPolicies(Collection<AccessPolicy> accessPolicies)
The list of available access policies. You can't view the contents of an access policy using the API. To view the contents, see Access policy permissions in the Amazon EKS User Guide.
accessPolicies
- The list of available access policies. You can't view the contents of an access policy using the API. To
view the contents, see Access policy permissions in the Amazon EKS User Guide.public void setNextToken(String nextToken)
The nextToken
value returned from a previous paginated request, where maxResults
was
used and the results exceeded the value of that parameter. Pagination continues from the end of the previous
results that returned the nextToken
value. This value is null when there are no more results to
return.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
nextToken
- The nextToken
value returned from a previous paginated request, where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the
previous results that returned the nextToken
value. This value is null when there are no more
results to return. This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
public String getNextToken()
The nextToken
value returned from a previous paginated request, where maxResults
was
used and the results exceeded the value of that parameter. Pagination continues from the end of the previous
results that returned the nextToken
value. This value is null when there are no more results to
return.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
nextToken
value returned from a previous paginated request, where
maxResults
was used and the results exceeded the value of that parameter. Pagination
continues from the end of the previous results that returned the nextToken
value. This value
is null when there are no more results to return. This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
public ListAccessPoliciesResult withNextToken(String nextToken)
The nextToken
value returned from a previous paginated request, where maxResults
was
used and the results exceeded the value of that parameter. Pagination continues from the end of the previous
results that returned the nextToken
value. This value is null when there are no more results to
return.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
nextToken
- The nextToken
value returned from a previous paginated request, where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the
previous results that returned the nextToken
value. This value is null when there are no more
results to return. This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
public String toString()
toString
in class Object
Object.toString()
public ListAccessPoliciesResult clone()