Interface ReportDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReportDefinition.Builder,
,ReportDefinition> SdkBuilder<ReportDefinition.Builder,
,ReportDefinition> SdkPojo
- Enclosing class:
ReportDefinition
@Mutable
@NotThreadSafe
public static interface ReportDefinition.Builder
extends SdkPojo, CopyableBuilder<ReportDefinition.Builder,ReportDefinition>
-
Method Summary
Modifier and TypeMethodDescriptionTimestamp (milliseconds) when this report definition was created.default ReportDefinition.Builder
destinationS3Location
(Consumer<S3Location.Builder> destinationS3Location) The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to.destinationS3Location
(S3Location destinationS3Location) The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to.The format used for the generated reports.The format used for the generated reports.lastUpdatedAt
(Instant lastUpdatedAt) Timestamp (milliseconds) when this report definition was last updated.reportDescription
(String reportDescription) Description of the reportreportFrequency
(String reportFrequency) The cadence at which the report is generated.reportFrequency
(ReportFrequency reportFrequency) The cadence at which the report is generated.The ID of the report.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
-
Method Details
-
reportId
The ID of the report.
- Parameters:
reportId
- The ID of the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportDescription
Description of the report
- Parameters:
reportDescription
- Description of the report- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportFrequency
The cadence at which the report is generated.
- Parameters:
reportFrequency
- The cadence at which the report is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reportFrequency
The cadence at which the report is generated.
- Parameters:
reportFrequency
- The cadence at which the report is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format used for the generated reports.
- Parameters:
format
- The format used for the generated reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format used for the generated reports.
- Parameters:
format
- The format used for the generated reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationS3Location
The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to.
- Parameters:
destinationS3Location
- The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationS3Location
default ReportDefinition.Builder destinationS3Location(Consumer<S3Location.Builder> destinationS3Location) The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to.
This is a convenience method that creates an instance of theS3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinationS3Location(S3Location)
.- Parameters:
destinationS3Location
- a consumer that will call methods onS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
Timestamp (milliseconds) when this report definition was created.
- Parameters:
createdAt
- Timestamp (milliseconds) when this report definition was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
Timestamp (milliseconds) when this report definition was last updated.
- Parameters:
lastUpdatedAt
- Timestamp (milliseconds) when this report definition was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-