Class CfnTaskPropsMixin.TaskReportConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datasync.CfnTaskPropsMixin.TaskReportConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskPropsMixin.TaskReportConfigProperty>
- Enclosing interface:
CfnTaskPropsMixin.TaskReportConfigProperty
@Stability(Stable)
public static final class CfnTaskPropsMixin.TaskReportConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTaskPropsMixin.TaskReportConfigProperty>
A builder for
CfnTaskPropsMixin.TaskReportConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destination(CfnTaskPropsMixin.DestinationProperty destination) Sets the value ofCfnTaskPropsMixin.TaskReportConfigProperty.getDestination()destination(IResolvable destination) Sets the value ofCfnTaskPropsMixin.TaskReportConfigProperty.getDestination()objectVersionIds(String objectVersionIds) Sets the value ofCfnTaskPropsMixin.TaskReportConfigProperty.getObjectVersionIds()outputType(String outputType) Sets the value ofCfnTaskPropsMixin.TaskReportConfigProperty.getOutputType()overrides(CfnTaskPropsMixin.OverridesProperty overrides) Sets the value ofCfnTaskPropsMixin.TaskReportConfigProperty.getOverrides()overrides(IResolvable overrides) Sets the value ofCfnTaskPropsMixin.TaskReportConfigProperty.getOverrides()reportLevel(String reportLevel) Sets the value ofCfnTaskPropsMixin.TaskReportConfigProperty.getReportLevel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
@Stability(Stable) public CfnTaskPropsMixin.TaskReportConfigProperty.Builder destination(IResolvable destination) Sets the value ofCfnTaskPropsMixin.TaskReportConfigProperty.getDestination()- Parameters:
destination- Specifies the Amazon S3 bucket where DataSync uploads your task report. For more information, see Task reports .- Returns:
this
-
destination
@Stability(Stable) public CfnTaskPropsMixin.TaskReportConfigProperty.Builder destination(CfnTaskPropsMixin.DestinationProperty destination) Sets the value ofCfnTaskPropsMixin.TaskReportConfigProperty.getDestination()- Parameters:
destination- Specifies the Amazon S3 bucket where DataSync uploads your task report. For more information, see Task reports .- Returns:
this
-
objectVersionIds
@Stability(Stable) public CfnTaskPropsMixin.TaskReportConfigProperty.Builder objectVersionIds(String objectVersionIds) Sets the value ofCfnTaskPropsMixin.TaskReportConfigProperty.getObjectVersionIds()- Parameters:
objectVersionIds- Specifies whether your task report includes the new version of each object transferred into an S3 bucket. This only applies if you enable versioning on your bucket . Keep in mind that setting this toINCLUDEcan increase the duration of your task execution.- Returns:
this
-
outputType
@Stability(Stable) public CfnTaskPropsMixin.TaskReportConfigProperty.Builder outputType(String outputType) Sets the value ofCfnTaskPropsMixin.TaskReportConfigProperty.getOutputType()- Parameters:
outputType- Specifies the type of task report that you want:.SUMMARY_ONLY: Provides necessary details about your task, including the number of files, objects, and directories transferred and transfer duration.STANDARD: Provides complete details about your task, including a full list of files, objects, and directories that were transferred, skipped, verified, and more.
- Returns:
this
-
overrides
@Stability(Stable) public CfnTaskPropsMixin.TaskReportConfigProperty.Builder overrides(IResolvable overrides) Sets the value ofCfnTaskPropsMixin.TaskReportConfigProperty.getOverrides()- Parameters:
overrides- Customizes the reporting level for aspects of your task report. For example, your report might generally only include errors, but you could specify that you want a list of successes and errors just for the files that DataSync attempted to delete in your destination location.- Returns:
this
-
overrides
@Stability(Stable) public CfnTaskPropsMixin.TaskReportConfigProperty.Builder overrides(CfnTaskPropsMixin.OverridesProperty overrides) Sets the value ofCfnTaskPropsMixin.TaskReportConfigProperty.getOverrides()- Parameters:
overrides- Customizes the reporting level for aspects of your task report. For example, your report might generally only include errors, but you could specify that you want a list of successes and errors just for the files that DataSync attempted to delete in your destination location.- Returns:
this
-
reportLevel
@Stability(Stable) public CfnTaskPropsMixin.TaskReportConfigProperty.Builder reportLevel(String reportLevel) Sets the value ofCfnTaskPropsMixin.TaskReportConfigProperty.getReportLevel()- Parameters:
reportLevel- Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't.ERRORS_ONLY: A report shows what DataSync was unable to transfer, skip, verify, and delete.SUCCESSES_AND_ERRORS: A report shows what DataSync was able and unable to transfer, skip, verify, and delete.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTaskPropsMixin.TaskReportConfigProperty>- Returns:
- a new instance of
CfnTaskPropsMixin.TaskReportConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-