Interface ListGatewaysResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListGatewaysResponse.Builder,ListGatewaysResponse>, MediaConnectResponse.Builder, SdkBuilder<ListGatewaysResponse.Builder,ListGatewaysResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListGatewaysResponse

public static interface ListGatewaysResponse.Builder extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<ListGatewaysResponse.Builder,ListGatewaysResponse>
  • Method Details

    • gateways

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

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

      A list of gateway summaries. This is a convenience method that creates an instance of the ListedGateway.Builder avoiding the need to create one manually via ListedGateway.builder().

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

      Parameters:
      gateways - a consumer that will call methods on ListedGateway.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 token that identifies which batch of results that you want to see. For example, you submit a ListGateways request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListGateways request a second time and specify the NextToken value.
      Parameters:
      nextToken - The token that identifies which batch of results that you want to see. For example, you submit a ListGateways request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListGateways request a second time and specify the NextToken value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.