Interface ListServiceDependenciesResponse.Builder

  • Method Details

    • 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.
    • serviceDependencies

      ListServiceDependenciesResponse.Builder serviceDependencies(Collection<ServiceDependency> serviceDependencies)

      An array, where each object in the array contains information about one of the dependencies of this service.

      Parameters:
      serviceDependencies - An array, where each object in the array contains information about one of the dependencies of this service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceDependencies

      ListServiceDependenciesResponse.Builder serviceDependencies(ServiceDependency... serviceDependencies)

      An array, where each object in the array contains information about one of the dependencies of this service.

      Parameters:
      serviceDependencies - An array, where each object in the array contains information about one of the dependencies of this service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceDependencies

      ListServiceDependenciesResponse.Builder serviceDependencies(Consumer<ServiceDependency.Builder>... serviceDependencies)

      An array, where each object in the array contains information about one of the dependencies of this service.

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

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

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

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

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