public class GetAttachmentResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
GetAttachmentResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getUrl()
This is the pre-signed URL that can be used for uploading the file to
Amazon S3 when used in response to StartAttachmentUpload.
|
java.lang.String |
getUrlExpiry()
The expiration time of the URL in ISO timestamp.
|
int |
hashCode() |
void |
setUrl(java.lang.String url)
This is the pre-signed URL that can be used for uploading the file to
Amazon S3 when used in response to StartAttachmentUpload.
|
void |
setUrlExpiry(java.lang.String urlExpiry)
The expiration time of the URL in ISO timestamp.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetAttachmentResult |
withUrl(java.lang.String url)
This is the pre-signed URL that can be used for uploading the file to
Amazon S3 when used in response to StartAttachmentUpload.
|
GetAttachmentResult |
withUrlExpiry(java.lang.String urlExpiry)
The expiration time of the URL in ISO timestamp.
|
public java.lang.String getUrl()
This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.
Constraints:
Length: 1 - 2000
This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.
public void setUrl(java.lang.String url)
This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.
Constraints:
Length: 1 - 2000
url - This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.
public GetAttachmentResult withUrl(java.lang.String url)
This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2000
url - This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.
public java.lang.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.
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 void setUrlExpiry(java.lang.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 GetAttachmentResult withUrlExpiry(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object