@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsJobPresignedUrlConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configuration information for pre-signed URLs. Valid when protocols
contains HTTP.
Constructor and Description |
---|
AwsJobPresignedUrlConfig() |
Modifier and Type | Method and Description |
---|---|
AwsJobPresignedUrlConfig |
clone() |
boolean |
equals(Object obj) |
Long |
getExpiresInSec()
How long (in seconds) pre-signed URLs are valid.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExpiresInSec(Long expiresInSec)
How long (in seconds) pre-signed URLs are valid.
|
String |
toString()
Returns a string representation of this object.
|
AwsJobPresignedUrlConfig |
withExpiresInSec(Long expiresInSec)
How long (in seconds) pre-signed URLs are valid.
|
public void setExpiresInSec(Long expiresInSec)
How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 1800 seconds. Pre-signed URLs are generated when a request for the job document is received.
expiresInSec
- How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 1800
seconds. Pre-signed URLs are generated when a request for the job document is received.public Long getExpiresInSec()
How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 1800 seconds. Pre-signed URLs are generated when a request for the job document is received.
public AwsJobPresignedUrlConfig withExpiresInSec(Long expiresInSec)
How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 1800 seconds. Pre-signed URLs are generated when a request for the job document is received.
expiresInSec
- How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 1800
seconds. Pre-signed URLs are generated when a request for the job document is received.public String toString()
toString
in class Object
Object.toString()
public AwsJobPresignedUrlConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.