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()
The pre-signed URL using which file would be downloaded from Amazon S3 by
the API caller.
|
java.lang.String |
getUrlExpiry()
The expiration time of the URL in ISO timestamp.
|
int |
hashCode() |
void |
setUrl(java.lang.String url)
The pre-signed URL using which file would be downloaded from Amazon S3 by
the API caller.
|
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)
The pre-signed URL using which file would be downloaded from Amazon S3 by
the API caller.
|
GetAttachmentResult |
withUrlExpiry(java.lang.String urlExpiry)
The expiration time of the URL in ISO timestamp.
|
public java.lang.String getUrl()
The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.
Constraints:
Length: 1 - 2000
The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.
public void setUrl(java.lang.String url)
The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.
Constraints:
Length: 1 - 2000
url
- The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.
public GetAttachmentResult withUrl(java.lang.String url)
The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2000
url
- The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.
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.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.