Interface DescribeReportDefinitionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeReportDefinitionsResponse.Builder,
,DescribeReportDefinitionsResponse> CostAndUsageReportResponse.Builder
,SdkBuilder<DescribeReportDefinitionsResponse.Builder,
,DescribeReportDefinitionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeReportDefinitionsResponse
@Mutable
@NotThreadSafe
public static interface DescribeReportDefinitionsResponse.Builder
extends CostAndUsageReportResponse.Builder, SdkPojo, CopyableBuilder<DescribeReportDefinitionsResponse.Builder,DescribeReportDefinitionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the NextToken property for this object.reportDefinitions
(Collection<ReportDefinition> reportDefinitions) An Amazon Web Services Cost and Usage Report list owned by the account.reportDefinitions
(Consumer<ReportDefinition.Builder>... reportDefinitions) An Amazon Web Services Cost and Usage Report list owned by the account.reportDefinitions
(ReportDefinition... reportDefinitions) An Amazon Web Services Cost and Usage Report list owned by the account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.costandusagereport.model.CostAndUsageReportResponse.Builder
build, responseMetadata, responseMetadata
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
-
reportDefinitions
DescribeReportDefinitionsResponse.Builder reportDefinitions(Collection<ReportDefinition> reportDefinitions) An Amazon Web Services Cost and Usage Report list owned by the account.
- Parameters:
reportDefinitions
- An Amazon Web Services Cost and Usage Report list owned by the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportDefinitions
An Amazon Web Services Cost and Usage Report list owned by the account.
- Parameters:
reportDefinitions
- An Amazon Web Services Cost and Usage Report list owned by the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportDefinitions
DescribeReportDefinitionsResponse.Builder reportDefinitions(Consumer<ReportDefinition.Builder>... reportDefinitions) An Amazon Web Services Cost and Usage Report list owned by the account.
This is a convenience method that creates an instance of theReportDefinition.Builder
avoiding the need to create one manually viaReportDefinition.builder()
.When the
Consumer
completes,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
Sets the value of the NextToken property for this object.- Parameters:
nextToken
- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-