Interface ListServiceStatesResponse.Builder

  • Method Details

    • startTime

      The start time of the query range, expressed as the number of milliseconds since January 1, 1970, 00:00:00 UTC.

      Parameters:
      startTime - The start time of the query range, expressed as the number of milliseconds since January 1, 1970, 00:00:00 UTC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The end time of the query range, expressed as the number of milliseconds since January 1, 1970, 00:00:00 UTC.

      Parameters:
      endTime - The end time of the query range, expressed as the number of milliseconds since January 1, 1970, 00:00:00 UTC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceStates

      An array of service state objects that match the specified criteria. Each service state includes current status, recent change events, and service metadata.

      Parameters:
      serviceStates - An array of service state objects that match the specified criteria. Each service state includes current status, recent change events, and service metadata.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceStates

      ListServiceStatesResponse.Builder serviceStates(ServiceState... serviceStates)

      An array of service state objects that match the specified criteria. Each service state includes current status, recent change events, and service metadata.

      Parameters:
      serviceStates - An array of service state objects that match the specified criteria. Each service state includes current status, recent change events, and service metadata.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceStates

      An array of service state objects that match the specified criteria. Each service state includes current status, recent change events, and service metadata.

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

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

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

      The token to use for retrieving the next page of results. This value is present only if there are more results available than were returned in the current response.

      Parameters:
      nextToken - The token to use for retrieving the next page of results. This value is present only if there are more results available than were returned in the current response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.