Interface ListGatewaysResponse.Builder

  • Method Details

    • gateways

      A list of your gateways.

      Parameters:
      gateways - A list of your gateways.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gateways

      ListGatewaysResponse.Builder gateways(Gateway... gateways)

      A list of your gateways.

      Parameters:
      gateways - A list of your gateways.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gateways

      A list of your gateways.

      This is a convenience method that creates an instance of the Gateway.Builder avoiding the need to create one manually via Gateway.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to gateways(List<Gateway>).

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

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