Interface GetServiceResponse.Builder

All Superinterfaces:
ApplicationSignalsResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<GetServiceResponse.Builder,GetServiceResponse>, SdkBuilder<GetServiceResponse.Builder,GetServiceResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetServiceResponse

  • Method Details

    • service

      A structure containing information about the service.

      Parameters:
      service - A structure containing information about the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • service

      A structure containing information about the service.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to service(Service).

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

      GetServiceResponse.Builder startTime(Instant startTime)

      The start time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057.

      Parameters:
      startTime - The start time of the data included in the response. In a raw HTTP Query API, it is formatted as be 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 time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057.

      Parameters:
      endTime - The end time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057.
      Returns:
      Returns a reference to this object so that method calls can be chained together.