Class CfnJobPropsMixin.PresignedUrlConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnJobPropsMixin.PresignedUrlConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobPropsMixin.PresignedUrlConfigProperty>
- Enclosing interface:
CfnJobPropsMixin.PresignedUrlConfigProperty
@Stability(Stable)
public static final class CfnJobPropsMixin.PresignedUrlConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobPropsMixin.PresignedUrlConfigProperty>
A builder for
CfnJobPropsMixin.PresignedUrlConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.expiresInSec(Number expiresInSec) Sets the value ofCfnJobPropsMixin.PresignedUrlConfigProperty.getExpiresInSec()Sets the value ofCfnJobPropsMixin.PresignedUrlConfigProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expiresInSec
@Stability(Stable) public CfnJobPropsMixin.PresignedUrlConfigProperty.Builder expiresInSec(Number expiresInSec) Sets the value ofCfnJobPropsMixin.PresignedUrlConfigProperty.getExpiresInSec()- Parameters:
expiresInSec- How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 3600 seconds.- Returns:
this
-
roleArn
@Stability(Stable) public CfnJobPropsMixin.PresignedUrlConfigProperty.Builder roleArn(String roleArn) Sets the value ofCfnJobPropsMixin.PresignedUrlConfigProperty.getRoleArn()- Parameters:
roleArn- The ARN of an IAM role that grants permission to download files from the S3 bucket where the job data/updates are stored.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnJobPropsMixin.PresignedUrlConfigProperty>- Returns:
- a new instance of
CfnJobPropsMixin.PresignedUrlConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-