Class CfnTaskPropsMixin.OverridesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datasync.CfnTaskPropsMixin.OverridesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskPropsMixin.OverridesProperty>
- Enclosing interface:
CfnTaskPropsMixin.OverridesProperty
@Stability(Stable)
public static final class CfnTaskPropsMixin.OverridesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTaskPropsMixin.OverridesProperty>
A builder for
CfnTaskPropsMixin.OverridesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deleted(CfnTaskPropsMixin.DeletedProperty deleted) Sets the value ofCfnTaskPropsMixin.OverridesProperty.getDeleted()deleted(IResolvable deleted) Sets the value ofCfnTaskPropsMixin.OverridesProperty.getDeleted()skipped(CfnTaskPropsMixin.SkippedProperty skipped) Sets the value ofCfnTaskPropsMixin.OverridesProperty.getSkipped()skipped(IResolvable skipped) Sets the value ofCfnTaskPropsMixin.OverridesProperty.getSkipped()transferred(CfnTaskPropsMixin.TransferredProperty transferred) Sets the value ofCfnTaskPropsMixin.OverridesProperty.getTransferred()transferred(IResolvable transferred) Sets the value ofCfnTaskPropsMixin.OverridesProperty.getTransferred()verified(CfnTaskPropsMixin.VerifiedProperty verified) Sets the value ofCfnTaskPropsMixin.OverridesProperty.getVerified()verified(IResolvable verified) Sets the value ofCfnTaskPropsMixin.OverridesProperty.getVerified()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deleted
Sets the value ofCfnTaskPropsMixin.OverridesProperty.getDeleted()- Parameters:
deleted- Specifies the level of reporting for the files, objects, and directories that Datasync attempted to delete in your destination location. This only applies if you configure your task to delete data in the destination that isn't in the source.- Returns:
this
-
deleted
@Stability(Stable) public CfnTaskPropsMixin.OverridesProperty.Builder deleted(CfnTaskPropsMixin.DeletedProperty deleted) Sets the value ofCfnTaskPropsMixin.OverridesProperty.getDeleted()- Parameters:
deleted- Specifies the level of reporting for the files, objects, and directories that Datasync attempted to delete in your destination location. This only applies if you configure your task to delete data in the destination that isn't in the source.- Returns:
this
-
skipped
Sets the value ofCfnTaskPropsMixin.OverridesProperty.getSkipped()- Parameters:
skipped- Specifies the level of reporting for the files, objects, and directories that Datasync attempted to skip during your transfer.- Returns:
this
-
skipped
@Stability(Stable) public CfnTaskPropsMixin.OverridesProperty.Builder skipped(CfnTaskPropsMixin.SkippedProperty skipped) Sets the value ofCfnTaskPropsMixin.OverridesProperty.getSkipped()- Parameters:
skipped- Specifies the level of reporting for the files, objects, and directories that Datasync attempted to skip during your transfer.- Returns:
this
-
transferred
@Stability(Stable) public CfnTaskPropsMixin.OverridesProperty.Builder transferred(IResolvable transferred) Sets the value ofCfnTaskPropsMixin.OverridesProperty.getTransferred()- Parameters:
transferred- Specifies the level of reporting for the files, objects, and directories that Datasync attempted to transfer.- Returns:
this
-
transferred
@Stability(Stable) public CfnTaskPropsMixin.OverridesProperty.Builder transferred(CfnTaskPropsMixin.TransferredProperty transferred) Sets the value ofCfnTaskPropsMixin.OverridesProperty.getTransferred()- Parameters:
transferred- Specifies the level of reporting for the files, objects, and directories that Datasync attempted to transfer.- Returns:
this
-
verified
@Stability(Stable) public CfnTaskPropsMixin.OverridesProperty.Builder verified(IResolvable verified) Sets the value ofCfnTaskPropsMixin.OverridesProperty.getVerified()- Parameters:
verified- Specifies the level of reporting for the files, objects, and directories that Datasync attempted to verify at the end of your transfer. This only applies if you configure your task to verify data during and after the transfer (which Datasync does by default)- Returns:
this
-
verified
@Stability(Stable) public CfnTaskPropsMixin.OverridesProperty.Builder verified(CfnTaskPropsMixin.VerifiedProperty verified) Sets the value ofCfnTaskPropsMixin.OverridesProperty.getVerified()- Parameters:
verified- Specifies the level of reporting for the files, objects, and directories that Datasync attempted to verify at the end of your transfer. This only applies if you configure your task to verify data during and after the transfer (which Datasync does by default)- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTaskPropsMixin.OverridesProperty>- Returns:
- a new instance of
CfnTaskPropsMixin.OverridesProperty - Throws:
NullPointerException- if any required attribute was not provided
-