Class CfnS3AccessPointAttachmentProps.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnS3AccessPointAttachmentProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnS3AccessPointAttachmentProps>
- Enclosing interface:
CfnS3AccessPointAttachmentProps
@Stability(Stable)
public static final class CfnS3AccessPointAttachmentProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnS3AccessPointAttachmentProps>
A builder for
CfnS3AccessPointAttachmentProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnS3AccessPointAttachmentProps.getName()
openZfsConfiguration
(IResolvable openZfsConfiguration) Sets the value ofCfnS3AccessPointAttachmentProps.getOpenZfsConfiguration()
openZfsConfiguration
(CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty openZfsConfiguration) Sets the value ofCfnS3AccessPointAttachmentProps.getOpenZfsConfiguration()
s3AccessPoint
(IResolvable s3AccessPoint) Sets the value ofCfnS3AccessPointAttachmentProps.getS3AccessPoint()
s3AccessPoint
(CfnS3AccessPointAttachment.S3AccessPointProperty s3AccessPoint) Sets the value ofCfnS3AccessPointAttachmentProps.getS3AccessPoint()
Sets the value ofCfnS3AccessPointAttachmentProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnS3AccessPointAttachmentProps.getName()
- Parameters:
name
- The name of the S3 access point attachment;. This parameter is required. also used for the name of the S3 access point.- Returns:
this
-
openZfsConfiguration
@Stability(Stable) public CfnS3AccessPointAttachmentProps.Builder openZfsConfiguration(IResolvable openZfsConfiguration) Sets the value ofCfnS3AccessPointAttachmentProps.getOpenZfsConfiguration()
- Parameters:
openZfsConfiguration
- The OpenZFSConfiguration of the S3 access point attachment. This parameter is required.- Returns:
this
-
openZfsConfiguration
@Stability(Stable) public CfnS3AccessPointAttachmentProps.Builder openZfsConfiguration(CfnS3AccessPointAttachment.S3AccessPointOpenZFSConfigurationProperty openZfsConfiguration) Sets the value ofCfnS3AccessPointAttachmentProps.getOpenZfsConfiguration()
- Parameters:
openZfsConfiguration
- The OpenZFSConfiguration of the S3 access point attachment. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnS3AccessPointAttachmentProps.getType()
- Parameters:
type
- The type of Amazon FSx volume that the S3 access point is attached to. This parameter is required.- Returns:
this
-
s3AccessPoint
@Stability(Stable) public CfnS3AccessPointAttachmentProps.Builder s3AccessPoint(IResolvable s3AccessPoint) Sets the value ofCfnS3AccessPointAttachmentProps.getS3AccessPoint()
- Parameters:
s3AccessPoint
- The S3 access point configuration of the S3 access point attachment.- Returns:
this
-
s3AccessPoint
@Stability(Stable) public CfnS3AccessPointAttachmentProps.Builder s3AccessPoint(CfnS3AccessPointAttachment.S3AccessPointProperty s3AccessPoint) Sets the value ofCfnS3AccessPointAttachmentProps.getS3AccessPoint()
- Parameters:
s3AccessPoint
- The S3 access point configuration of the S3 access point attachment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnS3AccessPointAttachmentProps>
- Returns:
- a new instance of
CfnS3AccessPointAttachmentProps
- Throws:
NullPointerException
- if any required attribute was not provided
-