Class CfnFileCache.DataRepositoryAssociationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnFileCache.DataRepositoryAssociationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFileCache.DataRepositoryAssociationProperty>
- Enclosing interface:
CfnFileCache.DataRepositoryAssociationProperty
@Stability(Stable)
public static final class CfnFileCache.DataRepositoryAssociationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFileCache.DataRepositoryAssociationProperty>
A builder for
CfnFileCache.DataRepositoryAssociationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataRepositoryPath(String dataRepositoryPath) Sets the value ofCfnFileCache.DataRepositoryAssociationProperty.getDataRepositoryPath()fileCachePath(String fileCachePath) Sets the value ofCfnFileCache.DataRepositoryAssociationProperty.getFileCachePath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataRepositoryPath
@Stability(Stable) public CfnFileCache.DataRepositoryAssociationProperty.Builder dataRepositoryPath(String dataRepositoryPath) Sets the value ofCfnFileCache.DataRepositoryAssociationProperty.getDataRepositoryPath()- Parameters:
dataRepositoryPath- the value to be set. This parameter is required.- Returns:
this
-
fileCachePath
@Stability(Stable) public CfnFileCache.DataRepositoryAssociationProperty.Builder fileCachePath(String fileCachePath) Sets the value ofCfnFileCache.DataRepositoryAssociationProperty.getFileCachePath()- Parameters:
fileCachePath- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFileCache.DataRepositoryAssociationProperty>- Returns:
- a new instance of
CfnFileCache.DataRepositoryAssociationProperty - Throws:
NullPointerException- if any required attribute was not provided
-