Interface ListGatewaysResponse.Builder

  • Method Details

    • gateways

      The list of gateways that match the request.

      Parameters:
      gateways - The list of gateways that match the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gateways

      The list of gateways that match the request.

      Parameters:
      gateways - The list of gateways that match the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gateways

      The list of gateways that match the request.

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

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

      Parameters:
      gateways - a consumer that will call methods on GatewaySummary.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 nextToken value to include in a future ListGateways request. When the results of a ListGateways request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

      Parameters:
      nextToken - The nextToken value to include in a future ListGateways request. When the results of a ListGateways request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.