Class AccessPointAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.efs.AccessPointAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccessPointAttributes>
- Enclosing interface:
- AccessPointAttributes
@Stability(Stable)
public static final class AccessPointAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<AccessPointAttributes>
A builder for
AccessPointAttributes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessPointArn
(String accessPointArn) Sets the value ofAccessPointAttributes.getAccessPointArn()
accessPointId
(String accessPointId) Sets the value ofAccessPointAttributes.getAccessPointId()
build()
Builds the configured instance.fileSystem
(IFileSystem fileSystem) Sets the value ofAccessPointAttributes.getFileSystem()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessPointArn
Sets the value ofAccessPointAttributes.getAccessPointArn()
- Parameters:
accessPointArn
- The ARN of the AccessPoint One of this, oraccessPointId
is required.- Returns:
this
-
accessPointId
Sets the value ofAccessPointAttributes.getAccessPointId()
- Parameters:
accessPointId
- The ID of the AccessPoint One of this, oraccessPointArn
is required.- Returns:
this
-
fileSystem
Sets the value ofAccessPointAttributes.getFileSystem()
- Parameters:
fileSystem
- The EFS file system.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AccessPointAttributes>
- Returns:
- a new instance of
AccessPointAttributes
- Throws:
NullPointerException
- if any required attribute was not provided
-