Interface ListServersRequest.Builder

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

public static interface ListServersRequest.Builder extends TransferRequest.Builder, SdkPojo, CopyableBuilder<ListServersRequest.Builder,ListServersRequest>
  • Method Details

    • maxResults

      ListServersRequest.Builder maxResults(Integer maxResults)

      Specifies the number of servers to return as a response to the ListServers query.

      Parameters:
      maxResults - Specifies the number of servers to return as a response to the ListServers query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListServersRequest.Builder nextToken(String nextToken)

      When additional results are obtained from the ListServers command, a NextToken parameter is returned in the output. You can then pass the NextToken parameter in a subsequent command to continue listing additional servers.

      Parameters:
      nextToken - When additional results are obtained from the ListServers command, a NextToken parameter is returned in the output. You can then pass the NextToken parameter in a subsequent command to continue listing additional servers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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