@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UploadMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Describes the upload.
Constructor and Description |
---|
UploadMetadata() |
Modifier and Type | Method and Description |
---|---|
UploadMetadata |
addSignedHeadersEntry(String key,
String value)
Add a single SignedHeaders entry
|
UploadMetadata |
clearSignedHeadersEntries()
Removes all the entries added into SignedHeaders.
|
UploadMetadata |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getSignedHeaders()
The signed headers.
|
String |
getUploadUrl()
The URL of the upload.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSignedHeaders(Map<String,String> signedHeaders)
The signed headers.
|
void |
setUploadUrl(String uploadUrl)
The URL of the upload.
|
String |
toString()
Returns a string representation of this object.
|
UploadMetadata |
withSignedHeaders(Map<String,String> signedHeaders)
The signed headers.
|
UploadMetadata |
withUploadUrl(String uploadUrl)
The URL of the upload.
|
public void setUploadUrl(String uploadUrl)
The URL of the upload.
uploadUrl
- The URL of the upload.public String getUploadUrl()
The URL of the upload.
public UploadMetadata withUploadUrl(String uploadUrl)
The URL of the upload.
uploadUrl
- The URL of the upload.public Map<String,String> getSignedHeaders()
The signed headers.
public void setSignedHeaders(Map<String,String> signedHeaders)
The signed headers.
signedHeaders
- The signed headers.public UploadMetadata withSignedHeaders(Map<String,String> signedHeaders)
The signed headers.
signedHeaders
- The signed headers.public UploadMetadata addSignedHeadersEntry(String key, String value)
public UploadMetadata clearSignedHeadersEntries()
public String toString()
toString
in class Object
Object.toString()
public UploadMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.