Interface ListAssociatedAccessPoliciesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAssociatedAccessPoliciesResponse.Builder,
,ListAssociatedAccessPoliciesResponse> EksResponse.Builder
,SdkBuilder<ListAssociatedAccessPoliciesResponse.Builder,
,ListAssociatedAccessPoliciesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListAssociatedAccessPoliciesResponse
-
Method Summary
Modifier and TypeMethodDescriptionassociatedAccessPolicies
(Collection<AssociatedAccessPolicy> associatedAccessPolicies) The list of access policies associated with the access entry.associatedAccessPolicies
(Consumer<AssociatedAccessPolicy.Builder>... associatedAccessPolicies) The list of access policies associated with the access entry.associatedAccessPolicies
(AssociatedAccessPolicy... associatedAccessPolicies) The list of access policies associated with the access entry.clusterName
(String clusterName) The name of your cluster.ThenextToken
value returned from a previous paginated request, wheremaxResults
was used and the results exceeded the value of that parameter.principalArn
(String principalArn) The ARN of the IAM principal for theAccessEntry
.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 Details
-
clusterName
The name of your cluster.
- Parameters:
clusterName
- The name of your cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalArn
The ARN of the IAM principal for the
AccessEntry
.- Parameters:
principalArn
- The ARN of the IAM principal for theAccessEntry
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The
nextToken
value returned from a previous paginated request, wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
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.
- Parameters:
nextToken
- ThenextToken
value returned from a previous paginated request, wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedAccessPolicies
ListAssociatedAccessPoliciesResponse.Builder associatedAccessPolicies(Collection<AssociatedAccessPolicy> associatedAccessPolicies) The list of access policies associated with the access entry.
- Parameters:
associatedAccessPolicies
- The list of access policies associated with the access entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedAccessPolicies
ListAssociatedAccessPoliciesResponse.Builder associatedAccessPolicies(AssociatedAccessPolicy... associatedAccessPolicies) The list of access policies associated with the access entry.
- Parameters:
associatedAccessPolicies
- The list of access policies associated with the access entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedAccessPolicies
ListAssociatedAccessPoliciesResponse.Builder associatedAccessPolicies(Consumer<AssociatedAccessPolicy.Builder>... associatedAccessPolicies) The list of access policies associated with the access entry.
This is a convenience method that creates an instance of theAssociatedAccessPolicy.Builder
avoiding the need to create one manually viaAssociatedAccessPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociatedAccessPolicies(List<AssociatedAccessPolicy>)
.- Parameters:
associatedAccessPolicies
- a consumer that will call methods onAssociatedAccessPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-