Class CfnS3AccessPointAttachment.S3AccessPointProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnS3AccessPointAttachment.S3AccessPointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnS3AccessPointAttachment.S3AccessPointProperty>
- Enclosing interface:
CfnS3AccessPointAttachment.S3AccessPointProperty
@Stability(Stable)
public static final class CfnS3AccessPointAttachment.S3AccessPointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnS3AccessPointAttachment.S3AccessPointProperty>
A builder for
CfnS3AccessPointAttachment.S3AccessPointProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnS3AccessPointAttachment.S3AccessPointProperty.getAlias()build()Builds the configured instance.Sets the value ofCfnS3AccessPointAttachment.S3AccessPointProperty.getPolicy()resourceArn(String resourceArn) Sets the value ofCfnS3AccessPointAttachment.S3AccessPointProperty.getResourceArn()vpcConfiguration(IResolvable vpcConfiguration) Sets the value ofCfnS3AccessPointAttachment.S3AccessPointProperty.getVpcConfiguration()Sets the value ofCfnS3AccessPointAttachment.S3AccessPointProperty.getVpcConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alias
@Stability(Stable) public CfnS3AccessPointAttachment.S3AccessPointProperty.Builder alias(String alias) Sets the value ofCfnS3AccessPointAttachment.S3AccessPointProperty.getAlias()- Parameters:
alias- the value to be set.- Returns:
this
-
policy
@Stability(Stable) public CfnS3AccessPointAttachment.S3AccessPointProperty.Builder policy(Object policy) Sets the value ofCfnS3AccessPointAttachment.S3AccessPointProperty.getPolicy()- Parameters:
policy- the value to be set.- Returns:
this
-
resourceArn
@Stability(Stable) public CfnS3AccessPointAttachment.S3AccessPointProperty.Builder resourceArn(String resourceArn) Sets the value ofCfnS3AccessPointAttachment.S3AccessPointProperty.getResourceArn()- Parameters:
resourceArn- the value to be set.- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnS3AccessPointAttachment.S3AccessPointProperty.Builder vpcConfiguration(IResolvable vpcConfiguration) Sets the value ofCfnS3AccessPointAttachment.S3AccessPointProperty.getVpcConfiguration()- Parameters:
vpcConfiguration- the value to be set.- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnS3AccessPointAttachment.S3AccessPointProperty.Builder vpcConfiguration(CfnS3AccessPointAttachment.S3AccessPointVpcConfigurationProperty vpcConfiguration) Sets the value ofCfnS3AccessPointAttachment.S3AccessPointProperty.getVpcConfiguration()- Parameters:
vpcConfiguration- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnS3AccessPointAttachment.S3AccessPointProperty>- Returns:
- a new instance of
CfnS3AccessPointAttachment.S3AccessPointProperty - Throws:
NullPointerException- if any required attribute was not provided
-