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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ReportDestination.Builders3(Consumer<ReportDestinationS3.Builder> s3)Specifies the Amazon S3 bucket where DataSync uploads your task report.ReportDestination.Builders3(ReportDestinationS3 s3)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 Detail
-
s3
ReportDestination.Builder s3(ReportDestinationS3 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
default ReportDestination.Builder s3(Consumer<ReportDestinationS3.Builder> s3)
Specifies the Amazon S3 bucket where DataSync uploads your task report.
This is a convenience method that creates an instance of theReportDestinationS3.Builderavoiding the need to create one manually viaReportDestinationS3.builder().When the
Consumercompletes,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:
s3(ReportDestinationS3)
-
-