Interface ListServicesResponse.Builder

  • Method Details

    • services

      An array that contains one ServiceSummary object for each service that matches the specified filter criteria.

      Parameters:
      services - An array that contains one ServiceSummary object for each service that matches the specified filter criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • services

      An array that contains one ServiceSummary object for each service that matches the specified filter criteria.

      Parameters:
      services - An array that contains one ServiceSummary object for each service that matches the specified filter criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • services

      An array that contains one ServiceSummary object for each service that matches the specified filter criteria.

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

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

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

      ListServicesResponse.Builder nextToken(String nextToken)

      If the response contains NextToken, submit another ListServices request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

      Cloud Map gets MaxResults services and then filters them based on the specified criteria. It's possible that no services in the first MaxResults services matched the specified criteria but that subsequent groups of MaxResults services do contain services that match the criteria.

      Parameters:
      nextToken - If the response contains NextToken, submit another ListServices request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

      Cloud Map gets MaxResults services and then filters them based on the specified criteria. It's possible that no services in the first MaxResults services matched the specified criteria but that subsequent groups of MaxResults services do contain services that match the criteria.

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