@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UploadUrlMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Fields required when uploading an attached file.
Constructor and Description |
---|
UploadUrlMetadata() |
Modifier and Type | Method and Description |
---|---|
UploadUrlMetadata |
addHeadersToIncludeEntry(String key,
String value)
Add a single HeadersToInclude entry
|
UploadUrlMetadata |
clearHeadersToIncludeEntries()
Removes all the entries added into HeadersToInclude.
|
UploadUrlMetadata |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getHeadersToInclude()
A map of headers that should be provided when uploading the attached file.
|
String |
getUrl()
A pre-signed S3 URL that should be used for uploading the attached file.
|
String |
getUrlExpiry()
The expiration time of the URL in ISO timestamp.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHeadersToInclude(Map<String,String> headersToInclude)
A map of headers that should be provided when uploading the attached file.
|
void |
setUrl(String url)
A pre-signed S3 URL that should be used for uploading the attached file.
|
void |
setUrlExpiry(String urlExpiry)
The expiration time of the URL in ISO timestamp.
|
String |
toString()
Returns a string representation of this object.
|
UploadUrlMetadata |
withHeadersToInclude(Map<String,String> headersToInclude)
A map of headers that should be provided when uploading the attached file.
|
UploadUrlMetadata |
withUrl(String url)
A pre-signed S3 URL that should be used for uploading the attached file.
|
UploadUrlMetadata |
withUrlExpiry(String urlExpiry)
The expiration time of the URL in ISO timestamp.
|
public void setUrl(String url)
A pre-signed S3 URL that should be used for uploading the attached file.
url
- A pre-signed S3 URL that should be used for uploading the attached file.public String getUrl()
A pre-signed S3 URL that should be used for uploading the attached file.
public UploadUrlMetadata withUrl(String url)
A pre-signed S3 URL that should be used for uploading the attached file.
url
- A pre-signed S3 URL that should be used for uploading the attached file.public void setUrlExpiry(String urlExpiry)
The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format:
yyyy-MM-ddThh:mm:ss.SSSZ
. For example, 2019-11-08T02:41:28.172Z
.
urlExpiry
- The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format:
yyyy-MM-ddThh:mm:ss.SSSZ
. For example, 2019-11-08T02:41:28.172Z
.public String getUrlExpiry()
The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format:
yyyy-MM-ddThh:mm:ss.SSSZ
. For example, 2019-11-08T02:41:28.172Z
.
yyyy-MM-ddThh:mm:ss.SSSZ
. For example, 2019-11-08T02:41:28.172Z
.public UploadUrlMetadata withUrlExpiry(String urlExpiry)
The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format:
yyyy-MM-ddThh:mm:ss.SSSZ
. For example, 2019-11-08T02:41:28.172Z
.
urlExpiry
- The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format:
yyyy-MM-ddThh:mm:ss.SSSZ
. For example, 2019-11-08T02:41:28.172Z
.public Map<String,String> getHeadersToInclude()
A map of headers that should be provided when uploading the attached file.
public void setHeadersToInclude(Map<String,String> headersToInclude)
A map of headers that should be provided when uploading the attached file.
headersToInclude
- A map of headers that should be provided when uploading the attached file.public UploadUrlMetadata withHeadersToInclude(Map<String,String> headersToInclude)
A map of headers that should be provided when uploading the attached file.
headersToInclude
- A map of headers that should be provided when uploading the attached file.public UploadUrlMetadata addHeadersToIncludeEntry(String key, String value)
public UploadUrlMetadata clearHeadersToIncludeEntries()
public String toString()
toString
in class Object
Object.toString()
public UploadUrlMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.