Class PresignedUrlConfig
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.PresignedUrlConfig
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<PresignedUrlConfig.Builder,PresignedUrlConfig>
@Generated("software.amazon.awssdk:codegen") public final class PresignedUrlConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PresignedUrlConfig.Builder,PresignedUrlConfig>
Configuration for pre-signed S3 URLs.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PresignedUrlConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
roleArn
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.
- Returns:
- 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.
-
expiresInSec
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.
- Returns:
- 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.
-
toBuilder
public PresignedUrlConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<PresignedUrlConfig.Builder,PresignedUrlConfig>
-
builder
public static PresignedUrlConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends PresignedUrlConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-