Interface ReportDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReportDefinition.Builder,ReportDefinition>,SdkBuilder<ReportDefinition.Builder,ReportDefinition>,SdkPojo
- Enclosing class:
- ReportDefinition
public static interface ReportDefinition.Builder extends SdkPojo, CopyableBuilder<ReportDefinition.Builder,ReportDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ReportDefinition.BuildercreatedAt(Instant createdAt)Timestamp (milliseconds) when this report definition was created.default ReportDefinition.BuilderdestinationS3Location(Consumer<S3Location.Builder> destinationS3Location)The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to.ReportDefinition.BuilderdestinationS3Location(S3Location destinationS3Location)The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to.ReportDefinition.Builderformat(String format)The format used for the generated reports.ReportDefinition.Builderformat(Format format)The format used for the generated reports.ReportDefinition.BuilderlastUpdatedAt(Instant lastUpdatedAt)Timestamp (milliseconds) when this report definition was last updated.ReportDefinition.BuilderreportDescription(String reportDescription)Description of the reportReportDefinition.BuilderreportFrequency(String reportFrequency)The cadence at which the report is generated.ReportDefinition.BuilderreportFrequency(ReportFrequency reportFrequency)The cadence at which the report is generated.ReportDefinition.BuilderreportId(String reportId)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, sdkFields
-
-
-
-
Method Detail
-
reportId
ReportDefinition.Builder reportId(String 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
ReportDefinition.Builder reportDescription(String 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
ReportDefinition.Builder reportFrequency(String 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,ReportFrequency
-
reportFrequency
ReportDefinition.Builder reportFrequency(ReportFrequency 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,ReportFrequency
-
format
ReportDefinition.Builder format(String format)
The format used for the generated reports.
-
format
ReportDefinition.Builder format(Format format)
The format used for the generated reports.
-
destinationS3Location
ReportDefinition.Builder destinationS3Location(S3Location 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.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,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:
destinationS3Location(S3Location)
-
createdAt
ReportDefinition.Builder createdAt(Instant 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
ReportDefinition.Builder lastUpdatedAt(Instant 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.
-
-