Interface ListInsightsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListInsightsRequest.Builder,,ListInsightsRequest> EksRequest.Builder,SdkBuilder<ListInsightsRequest.Builder,,ListInsightsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListInsightsRequest
-
Method Summary
Modifier and TypeMethodDescriptionclusterName(String clusterName) The name of the Amazon EKS cluster associated with the insights.default ListInsightsRequest.Builderfilter(Consumer<InsightsFilter.Builder> filter) The criteria to filter your list of insights for your cluster.filter(InsightsFilter filter) The criteria to filter your list of insights for your cluster.maxResults(Integer maxResults) The maximum number of identity provider configurations returned byListInsightsin paginated output.ThenextTokenvalue returned from a previous paginatedListInsightsrequest.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eks.model.EksRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clusterName
The name of the Amazon EKS cluster associated with the insights.
- Parameters:
clusterName- The name of the Amazon EKS cluster associated with the insights.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
The criteria to filter your list of insights for your cluster. You can filter which insights are returned by category, associated Kubernetes version, and status.
- Parameters:
filter- The criteria to filter your list of insights for your cluster. You can filter which insights are returned by category, associated Kubernetes version, and status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
The criteria to filter your list of insights for your cluster. You can filter which insights are returned by category, associated Kubernetes version, and status.
This is a convenience method that creates an instance of theInsightsFilter.Builderavoiding the need to create one manually viaInsightsFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(InsightsFilter).- Parameters:
filter- a consumer that will call methods onInsightsFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of identity provider configurations returned by
ListInsightsin paginated output. When you use this parameter,ListInsightsreturns onlymaxResultsresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListInsightsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don't use this parameter,ListInsightsreturns up to 100 results and anextTokenvalue, if applicable.- Parameters:
maxResults- The maximum number of identity provider configurations returned byListInsightsin paginated output. When you use this parameter,ListInsightsreturns onlymaxResultsresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListInsightsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don't use this parameter,ListInsightsreturns up to 100 results and anextTokenvalue, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The
nextTokenvalue returned from a previous paginatedListInsightsrequest. When the results of aListInsightsrequest exceedmaxResults, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue returned from a previous paginatedListInsightsrequest. When the results of aListInsightsrequest exceedmaxResults, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListInsightsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListInsightsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-