Class CfnTask.S3AccessPointSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnTask.S3AccessPointSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTask.S3AccessPointSourceProperty>
- Enclosing interface:
CfnTask.S3AccessPointSourceProperty
@Stability(Stable)
public static final class CfnTask.S3AccessPointSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTask.S3AccessPointSourceProperty>
A builder for
CfnTask.S3AccessPointSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessPointArn(String accessPointArn) Sets the value ofCfnTask.S3AccessPointSourceProperty.getAccessPointArn()build()Builds the configured instance.Sets the value ofCfnTask.S3AccessPointSourceProperty.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessPointArn
@Stability(Stable) public CfnTask.S3AccessPointSourceProperty.Builder accessPointArn(String accessPointArn) Sets the value ofCfnTask.S3AccessPointSourceProperty.getAccessPointArn()- Parameters:
accessPointArn- The Amazon Resource Name (ARN) of the Amazon S3 access point. This parameter is required. 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
Sets the value ofCfnTask.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<CfnTask.S3AccessPointSourceProperty>- Returns:
- a new instance of
CfnTask.S3AccessPointSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-