Interface ReportDestination.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReportDestination.Builder,
,ReportDestination> SdkBuilder<ReportDestination.Builder,
,ReportDestination> SdkPojo
- Enclosing class:
ReportDestination
public static interface ReportDestination.Builder
extends SdkPojo, CopyableBuilder<ReportDestination.Builder,ReportDestination>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ReportDestination.Builder
Specifies the Amazon S3 bucket where DataSync uploads your task report.Specifies the Amazon S3 bucket where DataSync uploads your task 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 Details
-
s3
Specifies the Amazon S3 bucket where DataSync uploads your task report.
- Parameters:
s3
- Specifies the Amazon S3 bucket where DataSync uploads your task report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
Specifies the Amazon S3 bucket where DataSync uploads your task report.
This is a convenience method that creates an instance of theReportDestinationS3.Builder
avoiding the need to create one manually viaReportDestinationS3.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3(ReportDestinationS3)
.- Parameters:
s3
- a consumer that will call methods onReportDestinationS3.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-