Class RegionalFileSystemProps.Builder
java.lang.Object
software.amazon.awscdk.services.efs.RegionalFileSystemProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RegionalFileSystemProps>
- Enclosing interface:
RegionalFileSystemProps
@Stability(Stable)
public static final class RegionalFileSystemProps.Builder
extends Object
implements software.amazon.jsii.Builder<RegionalFileSystemProps>
A builder for
RegionalFileSystemProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofRegionalFileSystemProps.getKmsKey()Sets the value ofRegionalFileSystemProps.getRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKey
Sets the value ofRegionalFileSystemProps.getKmsKey()- Parameters:
kmsKey- AWS KMS key used to protect the encrypted file system.- Returns:
this
-
region
Sets the value ofRegionalFileSystemProps.getRegion()- Parameters:
region- The AWS Region in which the destination file system is located.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RegionalFileSystemProps>- Returns:
- a new instance of
RegionalFileSystemProps - Throws:
NullPointerException- if any required attribute was not provided
-