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