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.Builderservice(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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaService.builder().When the
Consumercompletes,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.
-
-