Interface ListServiceStatesResponse.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 epoch time in seconds. For example, 1698778057.

      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 epoch time in seconds. For example, 1698778057.
      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 epoch time in seconds. For example, 1698778057.

      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 epoch time in seconds. For example, 1698778057.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceStates

      An array of structures, where each structure contains information about the state of one service, including its latest change events such as deployments.

      Parameters:
      serviceStates - An array of structures, where each structure contains information about the state of one service, including its latest change events such as deployments.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceStates

      ListServiceStatesResponse.Builder serviceStates(ServiceState... serviceStates)

      An array of structures, where each structure contains information about the state of one service, including its latest change events such as deployments.

      Parameters:
      serviceStates - An array of structures, where each structure contains information about the state of one service, including its latest change events such as deployments.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceStates

      An array of structures, where each structure contains information about the state of one service, including its latest change events such as deployments.

      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

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

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