Interface ListInsightsRequest.Builder

  • Method Details

    • 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

      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 the InsightsFilter.Builder avoiding the need to create one manually via InsightsFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filter(InsightsFilter).

      Parameters:
      filter - a consumer that will call methods on InsightsFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maxResults

      ListInsightsRequest.Builder maxResults(Integer maxResults)

      The maximum number of identity provider configurations returned by ListInsights in paginated output. When you use this parameter, ListInsights returns only maxResults results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another ListInsights request with the returned nextToken value. This value can be between 1 and 100. If you don't use this parameter, ListInsights returns up to 100 results and a nextToken value, if applicable.

      Parameters:
      maxResults - The maximum number of identity provider configurations returned by ListInsights in paginated output. When you use this parameter, ListInsights returns only maxResults results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another ListInsights request with the returned nextToken value. This value can be between 1 and 100. If you don't use this parameter, ListInsights returns up to 100 results and a nextToken value, if applicable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListInsightsRequest.Builder nextToken(String nextToken)

      The nextToken value returned from a previous paginated ListInsights request. When the results of a ListInsights request exceed maxResults, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.

      Parameters:
      nextToken - The nextToken value returned from a previous paginated ListInsights request. When the results of a ListInsights request exceed maxResults, you can use this value to retrieve the next page of results. This value is null 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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.