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 Summary
Modifier and TypeMethodDescriptionThe end time of the data included in the response.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.logGroupReferences
(Map<String, String>... logGroupReferences) An array of string-to-string maps that each contain information about one log group associated with this service.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, sdkFieldNameToField, 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
.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
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.
-
-