Class S3PutObjectActionProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.actions.alpha.S3PutObjectActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<S3PutObjectActionProps>
- Enclosing interface:
S3PutObjectActionProps
@Stability(Experimental)
public static final class S3PutObjectActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<S3PutObjectActionProps>
A builder for
S3PutObjectActionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessControl(BucketAccessControl accessControl) Sets the value ofS3PutObjectActionProps.getAccessControl()build()Builds the configured instance.Sets the value ofS3PutObjectActionProps.getKey()Sets the value ofCommonActionProps.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessControl
@Stability(Experimental) public S3PutObjectActionProps.Builder accessControl(BucketAccessControl accessControl) Sets the value ofS3PutObjectActionProps.getAccessControl()- Parameters:
accessControl- The Amazon S3 canned ACL that controls access to the object identified by the object key.- Returns:
this
-
key
Sets the value ofS3PutObjectActionProps.getKey()- Parameters:
key- The path to the file where the data is written. Supports substitution templates.- Returns:
this
-
role
Sets the value ofCommonActionProps.getRole()- Parameters:
role- The IAM role that allows access to AWS service.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<S3PutObjectActionProps>- Returns:
- a new instance of
S3PutObjectActionProps - Throws:
NullPointerException- if any required attribute was not provided
-