Class CfnTaskPropsMixin.ManifestConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskPropsMixin.ManifestConfigProperty>
- Enclosing interface:
CfnTaskPropsMixin.ManifestConfigProperty
CfnTaskPropsMixin.ManifestConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTaskPropsMixin.ManifestConfigProperty.getAction()build()Builds the configured instance.Sets the value ofCfnTaskPropsMixin.ManifestConfigProperty.getFormat()Sets the value ofCfnTaskPropsMixin.ManifestConfigProperty.getSource()source(IResolvable source) Sets the value ofCfnTaskPropsMixin.ManifestConfigProperty.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
Sets the value ofCfnTaskPropsMixin.ManifestConfigProperty.getAction()- Parameters:
action- Specifies what DataSync uses the manifest for.- Returns:
this
-
format
Sets the value ofCfnTaskPropsMixin.ManifestConfigProperty.getFormat()- Parameters:
format- Specifies the file format of your manifest. For more information, see Creating a manifest .- Returns:
this
-
source
@Stability(Stable) public CfnTaskPropsMixin.ManifestConfigProperty.Builder source(IResolvable source) Sets the value ofCfnTaskPropsMixin.ManifestConfigProperty.getSource()- Parameters:
source- Specifies the manifest that you want DataSync to use and where it's hosted.You must specify this parameter if you're configuring a new manifest on or after February 7, 2024.
If you don't, you'll get a 400 status code and
ValidationExceptionerror stating that you're missing the IAM role for DataSync to access the S3 bucket where you're hosting your manifest. For more information, see Providing DataSync access to your manifest .- Returns:
this
-
source
@Stability(Stable) public CfnTaskPropsMixin.ManifestConfigProperty.Builder source(CfnTaskPropsMixin.SourceProperty source) Sets the value ofCfnTaskPropsMixin.ManifestConfigProperty.getSource()- Parameters:
source- Specifies the manifest that you want DataSync to use and where it's hosted.You must specify this parameter if you're configuring a new manifest on or after February 7, 2024.
If you don't, you'll get a 400 status code and
ValidationExceptionerror stating that you're missing the IAM role for DataSync to access the S3 bucket where you're hosting your manifest. For more information, see Providing DataSync access to your manifest .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTaskPropsMixin.ManifestConfigProperty>- Returns:
- a new instance of
CfnTaskPropsMixin.ManifestConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-