public class AwsJobPresignedUrlConfig
extends java.lang.Object
implements java.io.Serializable
Configuration information for pre-signed URLs. Valid when
protocols
contains HTTP.
Constructor and Description |
---|
AwsJobPresignedUrlConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getExpiresInSec()
How long (in seconds) pre-signed URLs are valid.
|
int |
hashCode() |
void |
setExpiresInSec(java.lang.Long expiresInSec)
How long (in seconds) pre-signed URLs are valid.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AwsJobPresignedUrlConfig |
withExpiresInSec(java.lang.Long expiresInSec)
How long (in seconds) pre-signed URLs are valid.
|
public java.lang.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.
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 void setExpiresInSec(java.lang.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 AwsJobPresignedUrlConfig withExpiresInSec(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.