@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DownloadUrlMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Metadata used to download the attached file.
Constructor and Description |
---|
DownloadUrlMetadata() |
Modifier and Type | Method and Description |
---|---|
DownloadUrlMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getUrl()
A pre-signed URL that should be used to download 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 |
setUrl(String url)
A pre-signed URL that should be used to download 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.
|
DownloadUrlMetadata |
withUrl(String url)
A pre-signed URL that should be used to download the attached file.
|
DownloadUrlMetadata |
withUrlExpiry(String urlExpiry)
The expiration time of the URL in ISO timestamp.
|
public void setUrl(String url)
A pre-signed URL that should be used to download the attached file.
url
- A pre-signed URL that should be used to download the attached file.public String getUrl()
A pre-signed URL that should be used to download the attached file.
public DownloadUrlMetadata withUrl(String url)
A pre-signed URL that should be used to download the attached file.
url
- A pre-signed URL that should be used to download 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.
public DownloadUrlMetadata 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 DownloadUrlMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.