Interface ListInsightsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListInsightsRequest.Builder,ListInsightsRequest>,EksRequest.Builder,SdkBuilder<ListInsightsRequest.Builder,ListInsightsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListInsightsRequest
public static interface ListInsightsRequest.Builder extends EksRequest.Builder, SdkPojo, CopyableBuilder<ListInsightsRequest.Builder,ListInsightsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListInsightsRequest.BuilderclusterName(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.ListInsightsRequest.Builderfilter(InsightsFilter filter)The criteria to filter your list of insights for your cluster.ListInsightsRequest.BuildermaxResults(Integer maxResults)The maximum number of identity provider configurations returned byListInsightsin paginated output.ListInsightsRequest.BuildernextToken(String nextToken)ThenextTokenvalue returned from a previous paginatedListInsightsrequest.ListInsightsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListInsightsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFields
-
-
-
-
Method Detail
-
clusterName
ListInsightsRequest.Builder clusterName(String 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
ListInsightsRequest.Builder filter(InsightsFilter 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
default ListInsightsRequest.Builder filter(Consumer<InsightsFilter.Builder> 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:
filter(InsightsFilter)
-
maxResults
ListInsightsRequest.Builder maxResults(Integer 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
ListInsightsRequest.Builder nextToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListInsightsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-