Interface ListHostsRequest.Builder

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

public static interface ListHostsRequest.Builder extends CodeConnectionsRequest.Builder, SdkPojo, CopyableBuilder<ListHostsRequest.Builder,ListHostsRequest>
  • Method Details

    • maxResults

      ListHostsRequest.Builder maxResults(Integer maxResults)

      The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.

      Parameters:
      maxResults - The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListHostsRequest.Builder nextToken(String nextToken)

      The token that was returned from the previous ListHosts call, which can be used to return the next set of hosts in the list.

      Parameters:
      nextToken - The token that was returned from the previous ListHosts call, which can be used to return the next set of hosts in the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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