Interface GetServiceResponse.Builder

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

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

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

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

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

      GetServiceResponse.Builder logGroupReferences(Collection<? extends Map<String,String>> logGroupReferences)

      An array of string-to-string maps that each contain information about one log group associated with this service. Each string-to-string map includes the following fields:

      • "Type": "AWS::Resource"

      • "ResourceType": "AWS::Logs::LogGroup"

      • "Identifier": "name-of-log-group"

      Parameters:
      logGroupReferences - An array of string-to-string maps that each contain information about one log group associated with this service. Each string-to-string map includes the following fields:

      • "Type": "AWS::Resource"

      • "ResourceType": "AWS::Logs::LogGroup"

      • "Identifier": "name-of-log-group"

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

      GetServiceResponse.Builder logGroupReferences(Map<String,String>... logGroupReferences)

      An array of string-to-string maps that each contain information about one log group associated with this service. Each string-to-string map includes the following fields:

      • "Type": "AWS::Resource"

      • "ResourceType": "AWS::Logs::LogGroup"

      • "Identifier": "name-of-log-group"

      Parameters:
      logGroupReferences - An array of string-to-string maps that each contain information about one log group associated with this service. Each string-to-string map includes the following fields:

      • "Type": "AWS::Resource"

      • "ResourceType": "AWS::Logs::LogGroup"

      • "Identifier": "name-of-log-group"

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