Interface GetServiceResponse.Builder
- All Superinterfaces:
ApplicationSignalsResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetServiceResponse.Builder,
,GetServiceResponse> SdkBuilder<GetServiceResponse.Builder,
,GetServiceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetServiceResponse
public static interface GetServiceResponse.Builder
extends ApplicationSignalsResponse.Builder, SdkPojo, CopyableBuilder<GetServiceResponse.Builder,GetServiceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe end time of the data included in the response.default GetServiceResponse.Builder
service
(Consumer<Service.Builder> service) A structure containing information about the service.A structure containing information about the service.The start time of the data included in the response.Methods inherited from interface software.amazon.awssdk.services.applicationsignals.model.ApplicationSignalsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 theService.Builder
avoiding the need to create one manually viaService.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toservice(Service)
.- Parameters:
service
- a consumer that will call methods onService.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-