@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAttachmentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetAttachmentResult() |
Modifier and Type | Method and Description |
---|---|
GetAttachmentResult |
clone() |
boolean |
equals(Object obj) |
String |
getUrl()
The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.
|
String |
getUrlExpiry()
The expiration time of the URL in ISO timestamp.
|
int |
hashCode() |
void |
setUrl(String url)
The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.
|
void |
setUrlExpiry(String urlExpiry)
The expiration time of the URL in ISO timestamp.
|
String |
toString()
Returns a string representation of this object.
|
GetAttachmentResult |
withUrl(String url)
The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.
|
GetAttachmentResult |
withUrlExpiry(String urlExpiry)
The expiration time of the URL in ISO timestamp.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setUrl(String url)
The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.
url
- The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.public String getUrl()
The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.
public GetAttachmentResult withUrl(String url)
The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.
url
- The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.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.
public GetAttachmentResult 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 String toString()
toString
in class Object
Object.toString()
public GetAttachmentResult clone()