Interface ListAccessPoliciesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAccessPoliciesResponse.Builder,ListAccessPoliciesResponse>,EksResponse.Builder,SdkBuilder<ListAccessPoliciesResponse.Builder,ListAccessPoliciesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAccessPoliciesResponse
public static interface ListAccessPoliciesResponse.Builder extends EksResponse.Builder, SdkPojo, CopyableBuilder<ListAccessPoliciesResponse.Builder,ListAccessPoliciesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAccessPoliciesResponse.BuilderaccessPolicies(Collection<AccessPolicy> accessPolicies)The list of available access policies.ListAccessPoliciesResponse.BuilderaccessPolicies(Consumer<AccessPolicy.Builder>... accessPolicies)The list of available access policies.ListAccessPoliciesResponse.BuilderaccessPolicies(AccessPolicy... accessPolicies)The list of available access policies.ListAccessPoliciesResponse.BuildernextToken(String nextToken)ThenextTokenvalue returned from a previous paginated request, wheremaxResultswas used and the results exceeded the value of that parameter.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.eks.model.EksResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
accessPolicies
ListAccessPoliciesResponse.Builder accessPolicies(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPolicies
ListAccessPoliciesResponse.Builder accessPolicies(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPolicies
ListAccessPoliciesResponse.Builder accessPolicies(Consumer<AccessPolicy.Builder>... 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.
This is a convenience method that creates an instance of theAccessPolicy.Builderavoiding the need to create one manually viaAccessPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accessPolicies(List.) - Parameters:
accessPolicies- a consumer that will call methods onAccessPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#accessPolicies(java.util.Collection)
-
nextToken
ListAccessPoliciesResponse.Builder nextToken(String nextToken)
The
nextTokenvalue returned from a previous paginated request, wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. 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.
- Parameters:
nextToken- ThenextTokenvalue returned from a previous paginated request, wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-