Class CfnTestCasePropsMixin.InputFileProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apptest.CfnTestCasePropsMixin.InputFileProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTestCasePropsMixin.InputFileProperty>
- Enclosing interface:
CfnTestCasePropsMixin.InputFileProperty
@Stability(Stable)
public static final class CfnTestCasePropsMixin.InputFileProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTestCasePropsMixin.InputFileProperty>
A builder for
CfnTestCasePropsMixin.InputFileProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fileMetadata(CfnTestCasePropsMixin.FileMetadataProperty fileMetadata) Sets the value ofCfnTestCasePropsMixin.InputFileProperty.getFileMetadata()fileMetadata(IResolvable fileMetadata) Sets the value ofCfnTestCasePropsMixin.InputFileProperty.getFileMetadata()sourceLocation(String sourceLocation) Sets the value ofCfnTestCasePropsMixin.InputFileProperty.getSourceLocation()targetLocation(String targetLocation) Sets the value ofCfnTestCasePropsMixin.InputFileProperty.getTargetLocation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileMetadata
@Stability(Stable) public CfnTestCasePropsMixin.InputFileProperty.Builder fileMetadata(IResolvable fileMetadata) Sets the value ofCfnTestCasePropsMixin.InputFileProperty.getFileMetadata()- Parameters:
fileMetadata- The file metadata of the input file.- Returns:
this
-
fileMetadata
@Stability(Stable) public CfnTestCasePropsMixin.InputFileProperty.Builder fileMetadata(CfnTestCasePropsMixin.FileMetadataProperty fileMetadata) Sets the value ofCfnTestCasePropsMixin.InputFileProperty.getFileMetadata()- Parameters:
fileMetadata- The file metadata of the input file.- Returns:
this
-
sourceLocation
@Stability(Stable) public CfnTestCasePropsMixin.InputFileProperty.Builder sourceLocation(String sourceLocation) Sets the value ofCfnTestCasePropsMixin.InputFileProperty.getSourceLocation()- Parameters:
sourceLocation- The source location of the input file.- Returns:
this
-
targetLocation
@Stability(Stable) public CfnTestCasePropsMixin.InputFileProperty.Builder targetLocation(String targetLocation) Sets the value ofCfnTestCasePropsMixin.InputFileProperty.getTargetLocation()- Parameters:
targetLocation- The target location of the input file.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTestCasePropsMixin.InputFileProperty>- Returns:
- a new instance of
CfnTestCasePropsMixin.InputFileProperty - Throws:
NullPointerException- if any required attribute was not provided
-