Interface ListServicesResponse.Builder

  • Method Details

    • startTime

      ListServicesResponse.Builder startTime(Instant startTime)

      The start of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057

      This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.

      Parameters:
      startTime - The start of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057

      This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.

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

      The end of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057

      This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.

      Parameters:
      endTime - The end of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057

      This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.

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

      ListServicesResponse.Builder serviceSummaries(Collection<ServiceSummary> serviceSummaries)

      An array of structures, where each structure contains some information about a service. To get complete information about a service, use GetService.

      Parameters:
      serviceSummaries - An array of structures, where each structure contains some information about a service. To get complete information about a service, use GetService.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceSummaries

      ListServicesResponse.Builder serviceSummaries(ServiceSummary... serviceSummaries)

      An array of structures, where each structure contains some information about a service. To get complete information about a service, use GetService.

      Parameters:
      serviceSummaries - An array of structures, where each structure contains some information about a service. To get complete information about a service, use GetService.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceSummaries

      ListServicesResponse.Builder serviceSummaries(Consumer<ServiceSummary.Builder>... serviceSummaries)

      An array of structures, where each structure contains some information about a service. To get complete information about a service, use GetService.

      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 serviceSummaries(List<ServiceSummary>).

      Parameters:
      serviceSummaries - 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)

      Include this value in your next use of this API to get next set of services.

      Parameters:
      nextToken - Include this value in your next use of this API to get next set of services.
      Returns:
      Returns a reference to this object so that method calls can be chained together.