Interface PresignedUrlConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PresignedUrlConfig.Builder,PresignedUrlConfig>,SdkBuilder<PresignedUrlConfig.Builder,PresignedUrlConfig>,SdkPojo
- Enclosing class:
- PresignedUrlConfig
public static interface PresignedUrlConfig.Builder extends SdkPojo, CopyableBuilder<PresignedUrlConfig.Builder,PresignedUrlConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PresignedUrlConfig.BuilderexpiresInSec(Long expiresInSec)How long (in seconds) pre-signed URLs are valid.PresignedUrlConfig.BuilderroleArn(String roleArn)The ARN of an IAM role that grants permission to download files from the S3 bucket where the job data/updates are stored.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
roleArn
PresignedUrlConfig.Builder roleArn(String roleArn)
The ARN of an IAM role that grants permission to download files from the S3 bucket where the job data/updates are stored. The role must also grant permission for IoT to download the files.
For information about addressing the confused deputy problem, see cross-service confused deputy prevention in the Amazon Web Services IoT Core developer guide.
- 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. The role must also grant permission for IoT to download the files.For information about addressing the confused deputy problem, see cross-service confused deputy prevention in the Amazon Web Services IoT Core developer guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresInSec
PresignedUrlConfig.Builder expiresInSec(Long expiresInSec)
How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 3600 seconds. Pre-signed URLs are generated when Jobs receives an MQTT request for the job document.
- Parameters:
expiresInSec- How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 3600 seconds. Pre-signed URLs are generated when Jobs receives an MQTT request for the job document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-