Interface ListAssociatedAccessPoliciesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAssociatedAccessPoliciesResponse.Builder,ListAssociatedAccessPoliciesResponse>,EksResponse.Builder,SdkBuilder<ListAssociatedAccessPoliciesResponse.Builder,ListAssociatedAccessPoliciesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAssociatedAccessPoliciesResponse
public static interface ListAssociatedAccessPoliciesResponse.Builder extends EksResponse.Builder, SdkPojo, CopyableBuilder<ListAssociatedAccessPoliciesResponse.Builder,ListAssociatedAccessPoliciesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAssociatedAccessPoliciesResponse.BuilderassociatedAccessPolicies(Collection<AssociatedAccessPolicy> associatedAccessPolicies)The list of access policies associated with the access entry.ListAssociatedAccessPoliciesResponse.BuilderassociatedAccessPolicies(Consumer<AssociatedAccessPolicy.Builder>... associatedAccessPolicies)The list of access policies associated with the access entry.ListAssociatedAccessPoliciesResponse.BuilderassociatedAccessPolicies(AssociatedAccessPolicy... associatedAccessPolicies)The list of access policies associated with the access entry.ListAssociatedAccessPoliciesResponse.BuilderclusterName(String clusterName)The name of your cluster.ListAssociatedAccessPoliciesResponse.BuildernextToken(String nextToken)ThenextTokenvalue returned from a previous paginated request, wheremaxResultswas used and the results exceeded the value of that parameter.ListAssociatedAccessPoliciesResponse.BuilderprincipalArn(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
clusterName
ListAssociatedAccessPoliciesResponse.Builder clusterName(String 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
ListAssociatedAccessPoliciesResponse.Builder principalArn(String 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
ListAssociatedAccessPoliciesResponse.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.
-
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.Builderavoiding the need to create one manually viaAssociatedAccessPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#associatedAccessPolicies(List.) - 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:
#associatedAccessPolicies(java.util.Collection)
-
-