Interface BatchGetServiceLevelObjectiveBudgetReportResponse.Builder
- All Superinterfaces:
ApplicationSignalsResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchGetServiceLevelObjectiveBudgetReportResponse.Builder,
,BatchGetServiceLevelObjectiveBudgetReportResponse> SdkBuilder<BatchGetServiceLevelObjectiveBudgetReportResponse.Builder,
,BatchGetServiceLevelObjectiveBudgetReportResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchGetServiceLevelObjectiveBudgetReportResponse
-
Method Summary
Modifier and TypeMethodDescriptionAn array of structures, where each structure includes an error indicating that one of the requests in the array was not valid.An array of structures, where each structure includes an error indicating that one of the requests in the array was not valid.errors
(ServiceLevelObjectiveBudgetReportError... errors) An array of structures, where each structure includes an error indicating that one of the requests in the array was not valid.An array of structures, where each structure is one budget report.reports
(Consumer<ServiceLevelObjectiveBudgetReport.Builder>... reports) An array of structures, where each structure is one budget report.reports
(ServiceLevelObjectiveBudgetReport... reports) An array of structures, where each structure is one budget report.The date and time that the report is for.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
-
timestamp
The date and time that the report is for. It is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
- Parameters:
timestamp
- The date and time that the report is for. It is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reports
BatchGetServiceLevelObjectiveBudgetReportResponse.Builder reports(Collection<ServiceLevelObjectiveBudgetReport> reports) An array of structures, where each structure is one budget report.
- Parameters:
reports
- An array of structures, where each structure is one budget report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reports
BatchGetServiceLevelObjectiveBudgetReportResponse.Builder reports(ServiceLevelObjectiveBudgetReport... reports) An array of structures, where each structure is one budget report.
- Parameters:
reports
- An array of structures, where each structure is one budget report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reports
BatchGetServiceLevelObjectiveBudgetReportResponse.Builder reports(Consumer<ServiceLevelObjectiveBudgetReport.Builder>... reports) An array of structures, where each structure is one budget report.
This is a convenience method that creates an instance of theServiceLevelObjectiveBudgetReport.Builder
avoiding the need to create one manually viaServiceLevelObjectiveBudgetReport.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreports(List<ServiceLevelObjectiveBudgetReport>)
.- Parameters:
reports
- a consumer that will call methods onServiceLevelObjectiveBudgetReport.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
BatchGetServiceLevelObjectiveBudgetReportResponse.Builder errors(Collection<ServiceLevelObjectiveBudgetReportError> errors) An array of structures, where each structure includes an error indicating that one of the requests in the array was not valid.
- Parameters:
errors
- An array of structures, where each structure includes an error indicating that one of the requests in the array was not valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchGetServiceLevelObjectiveBudgetReportResponse.Builder errors(ServiceLevelObjectiveBudgetReportError... errors) An array of structures, where each structure includes an error indicating that one of the requests in the array was not valid.
- Parameters:
errors
- An array of structures, where each structure includes an error indicating that one of the requests in the array was not valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchGetServiceLevelObjectiveBudgetReportResponse.Builder errors(Consumer<ServiceLevelObjectiveBudgetReportError.Builder>... errors) An array of structures, where each structure includes an error indicating that one of the requests in the array was not valid.
This is a convenience method that creates an instance of theServiceLevelObjectiveBudgetReportError.Builder
avoiding the need to create one manually viaServiceLevelObjectiveBudgetReportError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<ServiceLevelObjectiveBudgetReportError>)
.- Parameters:
errors
- a consumer that will call methods onServiceLevelObjectiveBudgetReportError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-