Interface ListNodegroupsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListNodegroupsRequest.Builder,ListNodegroupsRequest>, EksRequest.Builder, SdkBuilder<ListNodegroupsRequest.Builder,ListNodegroupsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListNodegroupsRequest

public static interface ListNodegroupsRequest.Builder extends EksRequest.Builder, SdkPojo, CopyableBuilder<ListNodegroupsRequest.Builder,ListNodegroupsRequest>
  • Method Details

    • clusterName

      ListNodegroupsRequest.Builder clusterName(String clusterName)

      The name of the Amazon EKS cluster that you would like to list node groups in.

      Parameters:
      clusterName - The name of the Amazon EKS cluster that you would like to list node groups in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListNodegroupsRequest.Builder maxResults(Integer maxResults)

      The maximum number of node group results returned by ListNodegroups in paginated output. When you use this parameter, ListNodegroups 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 ListNodegroups request with the returned nextToken value. This value can be between 1 and 100. If you don't use this parameter, ListNodegroups returns up to 100 results and a nextToken value if applicable.

      Parameters:
      maxResults - The maximum number of node group results returned by ListNodegroups in paginated output. When you use this parameter, ListNodegroups 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 ListNodegroups request with the returned nextToken value. This value can be between 1 and 100. If you don't use this parameter, ListNodegroups 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

      ListNodegroupsRequest.Builder nextToken(String nextToken)

      The nextToken value returned from a previous paginated ListNodegroups request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

      Parameters:
      nextToken - The nextToken value returned from a previous paginated ListNodegroups request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListNodegroupsRequest.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.