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
copyMethods inherited from interface software.amazon.awssdk.services.costandusagereport.model.CostAndUsageReportResponse.Builder
build, responseMetadata, responseMetadataMethods 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
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.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
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.
-