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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BusinessReport.BuilderdeliveryTime(Instant deliveryTime)The time of report delivery.BusinessReport.BuilderdownloadUrl(String downloadUrl)The download link where a user can download the report.BusinessReport.BuilderfailureCode(String failureCode)The failure code.BusinessReport.BuilderfailureCode(BusinessReportFailureCode failureCode)The failure code.default BusinessReport.Builders3Location(Consumer<BusinessReportS3Location.Builder> s3Location)The S3 location of the output reports.BusinessReport.Builders3Location(BusinessReportS3Location s3Location)The S3 location of the output reports.BusinessReport.Builderstatus(String status)The status of the report generation execution (RUNNING, SUCCEEDED, or FAILED).BusinessReport.Builderstatus(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 Detail
-
status
BusinessReport.Builder status(String 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:
BusinessReportStatus,BusinessReportStatus
-
status
BusinessReport.Builder status(BusinessReportStatus 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:
BusinessReportStatus,BusinessReportStatus
-
failureCode
BusinessReport.Builder failureCode(String 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:
BusinessReportFailureCode,BusinessReportFailureCode
-
failureCode
BusinessReport.Builder failureCode(BusinessReportFailureCode 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:
BusinessReportFailureCode,BusinessReportFailureCode
-
s3Location
BusinessReport.Builder s3Location(BusinessReportS3Location 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
default BusinessReport.Builder s3Location(Consumer<BusinessReportS3Location.Builder> s3Location)
The S3 location of the output reports.
This is a convenience method that creates an instance of theBusinessReportS3Location.Builderavoiding the need to create one manually viaBusinessReportS3Location.builder().When the
Consumercompletes,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:
s3Location(BusinessReportS3Location)
-
deliveryTime
BusinessReport.Builder deliveryTime(Instant 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
BusinessReport.Builder downloadUrl(String 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.
-
-