Interface ListGatewaysRequest.Builder

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

public static interface ListGatewaysRequest.Builder extends BackupGatewayRequest.Builder, SdkPojo, CopyableBuilder<ListGatewaysRequest.Builder,ListGatewaysRequest>
  • Method Details

    • maxResults

      ListGatewaysRequest.Builder maxResults(Integer maxResults)

      The maximum number of gateways to list.

      Parameters:
      maxResults - The maximum number of gateways to list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListGatewaysRequest.Builder nextToken(String nextToken)

      The next item following a partial list of returned resources. For example, if a request is made to return MaxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

      Parameters:
      nextToken - The next item following a partial list of returned resources. For example, if a request is made to return MaxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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