Class CfnTaskPropsMixin.S3AccessPointSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotsitewise.CfnTaskPropsMixin.S3AccessPointSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskPropsMixin.S3AccessPointSourceProperty>
- Enclosing interface:
CfnTaskPropsMixin.S3AccessPointSourceProperty
@Stability(Stable)
public static final class CfnTaskPropsMixin.S3AccessPointSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTaskPropsMixin.S3AccessPointSourceProperty>
A builder for
CfnTaskPropsMixin.S3AccessPointSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessPointArn(String accessPointArn) Sets the value ofCfnTaskPropsMixin.S3AccessPointSourceProperty.getAccessPointArn()build()Builds the configured instance.Sets the value ofCfnTaskPropsMixin.S3AccessPointSourceProperty.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessPointArn
@Stability(Stable) public CfnTaskPropsMixin.S3AccessPointSourceProperty.Builder accessPointArn(String accessPointArn) Sets the value ofCfnTaskPropsMixin.S3AccessPointSourceProperty.getAccessPointArn()- Parameters:
accessPointArn- The Amazon Resource Name (ARN) of the Amazon S3 access point. The mount reads objects from the bucket associated with this access point. Access is governed by the access point policy and the task execution role's IAM permissions.- Returns:
this
-
prefix
@Stability(Stable) public CfnTaskPropsMixin.S3AccessPointSourceProperty.Builder prefix(String prefix) Sets the value ofCfnTaskPropsMixin.S3AccessPointSourceProperty.getPrefix()- Parameters:
prefix- An object key name prefix. If specified, the mount includes only objects whose keys begin with this prefix. To include all objects at the access point, omit this field.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTaskPropsMixin.S3AccessPointSourceProperty>- Returns:
- a new instance of
CfnTaskPropsMixin.S3AccessPointSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-