Class CfnTaskPropsMixin.SourceProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.datasync.mixins.CfnTaskPropsMixin.SourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskPropsMixin.SourceProperty>
- Enclosing interface:
CfnTaskPropsMixin.SourceProperty
@Stability(Stable)
public static final class CfnTaskPropsMixin.SourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTaskPropsMixin.SourceProperty>
A builder for
CfnTaskPropsMixin.SourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.s3(IResolvable s3) Sets the value ofCfnTaskPropsMixin.SourceProperty.getS3()Sets the value ofCfnTaskPropsMixin.SourceProperty.getS3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3
Sets the value ofCfnTaskPropsMixin.SourceProperty.getS3()- Parameters:
s3- Specifies the S3 bucket where you're hosting the manifest that you want AWS DataSync to use.- Returns:
this
-
s3
@Stability(Stable) public CfnTaskPropsMixin.SourceProperty.Builder s3(CfnTaskPropsMixin.ManifestConfigSourceS3Property s3) Sets the value ofCfnTaskPropsMixin.SourceProperty.getS3()- Parameters:
s3- Specifies the S3 bucket where you're hosting the manifest that you want AWS DataSync to use.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTaskPropsMixin.SourceProperty>- Returns:
- a new instance of
CfnTaskPropsMixin.SourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-