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.Builder
filter
(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 byListInsights
in paginated output.ThenextToken
value returned from a previous paginatedListInsights
request.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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.eks.model.EksRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaInsightsFilter.builder()
.When the
Consumer
completes,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
ListInsights
in paginated output. When you use this parameter,ListInsights
returns onlymaxResults
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListInsights
request with the returnednextToken
value. This value can be between 1 and 100. If you don't use this parameter,ListInsights
returns up to 100 results and anextToken
value, if applicable.- Parameters:
maxResults
- The maximum number of identity provider configurations returned byListInsights
in paginated output. When you use this parameter,ListInsights
returns onlymaxResults
results in a single page along with anextToken
response element. You can see the remaining results of the initial request by sending anotherListInsights
request with the returnednextToken
value. This value can be between 1 and 100. If you don't use this parameter,ListInsights
returns up to 100 results and anextToken
value, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The
nextToken
value returned from a previous paginatedListInsights
request. When the results of aListInsights
request exceedmaxResults
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value returned from a previous paginatedListInsights
request. When the results of aListInsights
request exceedmaxResults
, you can use this value to retrieve the next page of results. This value isnull
when 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-