Class FileCacheReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.fsx.FileCacheReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FileCacheReference>
- Enclosing interface:
FileCacheReference
@Stability(Stable)
public static final class FileCacheReference.Builder
extends Object
implements software.amazon.jsii.Builder<FileCacheReference>
A builder for
FileCacheReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fileCacheId(String fileCacheId) Sets the value ofFileCacheReference.getFileCacheId()resourceArn(String resourceArn) Sets the value ofFileCacheReference.getResourceArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileCacheId
Sets the value ofFileCacheReference.getFileCacheId()- Parameters:
fileCacheId- The FileCacheId of the FileCache resource. This parameter is required.- Returns:
this
-
resourceArn
Sets the value ofFileCacheReference.getResourceArn()- Parameters:
resourceArn- The ResourceARN of the FileCache resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FileCacheReference>- Returns:
- a new instance of
FileCacheReference - Throws:
NullPointerException- if any required attribute was not provided
-