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