Interface ListReportDefinitionsResponse.Builder
- All Superinterfaces:
ApplicationCostProfilerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListReportDefinitionsResponse.Builder,,ListReportDefinitionsResponse> SdkBuilder<ListReportDefinitionsResponse.Builder,,ListReportDefinitionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListReportDefinitionsResponse
@Mutable
@NotThreadSafe
public static interface ListReportDefinitionsResponse.Builder
extends ApplicationCostProfilerResponse.Builder, SdkPojo, CopyableBuilder<ListReportDefinitionsResponse.Builder,ListReportDefinitionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe value of the next token, if it exists.reportDefinitions(Collection<ReportDefinition> reportDefinitions) The retrieved reports.reportDefinitions(Consumer<ReportDefinition.Builder>... reportDefinitions) The retrieved reports.reportDefinitions(ReportDefinition... reportDefinitions) The retrieved reports.Methods inherited from interface software.amazon.awssdk.services.applicationcostprofiler.model.ApplicationCostProfilerResponse.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
-
reportDefinitions
ListReportDefinitionsResponse.Builder reportDefinitions(Collection<ReportDefinition> reportDefinitions) The retrieved reports.
- Parameters:
reportDefinitions- The retrieved reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportDefinitions
The retrieved reports.
- Parameters:
reportDefinitions- The retrieved reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportDefinitions
ListReportDefinitionsResponse.Builder reportDefinitions(Consumer<ReportDefinition.Builder>... reportDefinitions) The retrieved reports.
This is a convenience method that creates an instance of theReportDefinition.Builderavoiding the need to create one manually viaReportDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreportDefinitions(List<ReportDefinition>).- Parameters:
reportDefinitions- a consumer that will call methods onReportDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The value of the next token, if it exists. Null if there are no more results.
- Parameters:
nextToken- The value of the next token, if it exists. Null if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-