Interface GetServiceRequest.Builder

All Superinterfaces:
ApplicationSignalsRequest.Builder, AwsRequest.Builder, Buildable, CopyableBuilder<GetServiceRequest.Builder,GetServiceRequest>, SdkBuilder<GetServiceRequest.Builder,GetServiceRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
GetServiceRequest

public static interface GetServiceRequest.Builder extends ApplicationSignalsRequest.Builder, SdkPojo, CopyableBuilder<GetServiceRequest.Builder,GetServiceRequest>
  • Method Details

    • startTime

      GetServiceRequest.Builder startTime(Instant startTime)

      The start of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057

      Parameters:
      startTime - The start of the time period to retrieve information about. When used 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 of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057

      Parameters:
      endTime - The end of the time period to retrieve information about. When used 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.
    • keyAttributes

      GetServiceRequest.Builder keyAttributes(Map<String,String> keyAttributes)

      Use this field to specify which service you want to retrieve information for. You must specify at least the Type, Name, and Environment attributes.

      This is a string-to-string map. It can include the following fields.

      • Type designates the type of object this is.

      • ResourceType specifies the type of the resource. This field is used only when the value of the Type field is Resource or AWS::Resource.

      • Name specifies the name of the object. This is used only if the value of the Type field is Service, RemoteService, or AWS::Service.

      • Identifier identifies the resource objects of this resource. This is used only if the value of the Type field is Resource or AWS::Resource.

      • Environment specifies the location where this object is hosted, or what it belongs to.

      Parameters:
      keyAttributes - Use this field to specify which service you want to retrieve information for. You must specify at least the Type, Name, and Environment attributes.

      This is a string-to-string map. It can include the following fields.

      • Type designates the type of object this is.

      • ResourceType specifies the type of the resource. This field is used only when the value of the Type field is Resource or AWS::Resource.

      • Name specifies the name of the object. This is used only if the value of the Type field is Service, RemoteService, or AWS::Service.

      • Identifier identifies the resource objects of this resource. This is used only if the value of the Type field is Resource or AWS::Resource.

      • Environment specifies the location where this object is hosted, or what it belongs to.

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

      GetServiceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.