Interface ListEndpointsResponse.Builder

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

  • Method Details

    • endpoints

      The endpoints returned by the call.

      Parameters:
      endpoints - The endpoints returned by the call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoints

      ListEndpointsResponse.Builder endpoints(Endpoint... endpoints)

      The endpoints returned by the call.

      Parameters:
      endpoints - The endpoints returned by the call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoints

      The endpoints returned by the call.

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

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

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

      ListEndpointsResponse.Builder nextToken(String nextToken)

      A token indicating there are more results available. If there are no more results, no token is included in the response.

      The value of nextToken is a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.

      Using an expired pagination token results in an HTTP 400 InvalidToken error.

      Parameters:
      nextToken - A token indicating there are more results available. If there are no more results, no token is included in the response.

      The value of nextToken is a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.

      Using an expired pagination token results in an HTTP 400 InvalidToken error.

      Returns:
      Returns a reference to this object so that method calls can be chained together.