@Generated(value="software.amazon.awssdk:codegen") public final class PresignedUrlConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PresignedUrlConfig.Builder,PresignedUrlConfig>
Configuration for pre-signed S3 URLs.
Modifier and Type | Class and Description |
---|---|
static interface |
PresignedUrlConfig.Builder |
Modifier and Type | Method and Description |
---|---|
static PresignedUrlConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Long |
expiresInSec()
How long (in seconds) pre-signed URLs are valid.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PresignedUrlConfig.Builder> |
serializableBuilderClass() |
PresignedUrlConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final 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.
For information about addressing the confused deputy problem, see cross-service confused deputy prevention in the Amazon Web Services IoT Core developer guide.
public final 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.
public PresignedUrlConfig.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<PresignedUrlConfig.Builder,PresignedUrlConfig>
public static PresignedUrlConfig.Builder builder()
public static Class<? extends PresignedUrlConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.