Interface BusinessReport.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BusinessReport.Builder,
,BusinessReport> SdkBuilder<BusinessReport.Builder,
,BusinessReport> SdkPojo
- Enclosing class:
BusinessReport
public static interface BusinessReport.Builder
extends SdkPojo, CopyableBuilder<BusinessReport.Builder,BusinessReport>
-
Method Summary
Modifier and TypeMethodDescriptiondeliveryTime
(Instant deliveryTime) The time of report delivery.downloadUrl
(String downloadUrl) The download link where a user can download the report.failureCode
(String failureCode) The failure code.failureCode
(BusinessReportFailureCode failureCode) The failure code.default BusinessReport.Builder
s3Location
(Consumer<BusinessReportS3Location.Builder> s3Location) The S3 location of the output reports.s3Location
(BusinessReportS3Location s3Location) The S3 location of the output reports.The status of the report generation execution (RUNNING, SUCCEEDED, or FAILED).status
(BusinessReportStatus status) The status of the report generation execution (RUNNING, SUCCEEDED, or FAILED).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 Details
-
status
The status of the report generation execution (RUNNING, SUCCEEDED, or FAILED).
- Parameters:
status
- The status of the report generation execution (RUNNING, SUCCEEDED, or FAILED).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the report generation execution (RUNNING, SUCCEEDED, or FAILED).
- Parameters:
status
- The status of the report generation execution (RUNNING, SUCCEEDED, or FAILED).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureCode
The failure code.
- Parameters:
failureCode
- The failure code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureCode
The failure code.
- Parameters:
failureCode
- The failure code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Location
The S3 location of the output reports.
- Parameters:
s3Location
- The S3 location of the output reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
The S3 location of the output reports.
This is a convenience method that creates an instance of theBusinessReportS3Location.Builder
avoiding the need to create one manually viaBusinessReportS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Location(BusinessReportS3Location)
.- Parameters:
s3Location
- a consumer that will call methods onBusinessReportS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deliveryTime
The time of report delivery.
- Parameters:
deliveryTime
- The time of report delivery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
downloadUrl
The download link where a user can download the report.
- Parameters:
downloadUrl
- The download link where a user can download the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-