public class XmlResponsesSaxParser.CopyObjectResultHandler extends org.xml.sax.helpers.DefaultHandler implements ServerSideEncryptionResult, ObjectExpirationResult
| Constructor and Description |
|---|
XmlResponsesSaxParser.CopyObjectResultHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endDocument() |
void |
endElement(String uri,
String name,
String qName) |
String |
getErrorCode() |
String |
getErrorHostId() |
String |
getErrorMessage() |
String |
getErrorRequestId() |
String |
getETag() |
Date |
getExpirationTime()
Returns the expiration date of the object, or null if the object is not
configured to expire.
|
String |
getExpirationTimeRuleId()
Returns the bucket lifecycle configuration rule ID for the expiration of
this object.
|
Date |
getLastModified() |
String |
getServerSideEncryption()
Returns the server-side encryption algorithm for the response, or null if none was used.
|
String |
getVersionId() |
boolean |
isErrorResponse() |
void |
setExpirationTime(Date expirationTime)
Sets the expiration date of the object.
|
void |
setExpirationTimeRuleId(String expirationTimeRuleId)
Sets the bucket lifecycle configuration rule ID for the expiration of
this object.
|
void |
setServerSideEncryption(String serverSideEncryption)
Sets the server-side encryption algorithm for the response.
|
void |
setVersionId(String versionId) |
void |
startDocument() |
void |
startElement(String uri,
String name,
String qName,
Attributes attrs) |
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningpublic XmlResponsesSaxParser.CopyObjectResultHandler()
public Date getLastModified()
public String getVersionId()
public void setVersionId(String versionId)
public String getServerSideEncryption()
ServerSideEncryptionResultgetServerSideEncryption in interface ServerSideEncryptionResultpublic void setServerSideEncryption(String serverSideEncryption)
ServerSideEncryptionResultsetServerSideEncryption in interface ServerSideEncryptionResultserverSideEncryption - The server-side encryption algorithm for the response.public Date getExpirationTime()
ObjectExpirationResultgetExpirationTime in interface ObjectExpirationResultpublic void setExpirationTime(Date expirationTime)
ObjectExpirationResultsetExpirationTime in interface ObjectExpirationResultexpirationTime - The date the object will expire.public String getExpirationTimeRuleId()
ObjectExpirationResultgetExpirationTimeRuleId in interface ObjectExpirationResultBucketLifecycleConfiguration.Rule.getId()public void setExpirationTimeRuleId(String expirationTimeRuleId)
ObjectExpirationResultsetExpirationTimeRuleId in interface ObjectExpirationResultexpirationTimeRuleId - The rule ID of this object's expiration configurationpublic String getETag()
public String getErrorCode()
public String getErrorHostId()
public String getErrorMessage()
public String getErrorRequestId()
public boolean isErrorResponse()
public void startDocument()
startDocument in interface ContentHandlerstartDocument in class org.xml.sax.helpers.DefaultHandlerpublic void endDocument()
endDocument in interface ContentHandlerendDocument in class org.xml.sax.helpers.DefaultHandlerpublic void startElement(String uri, String name, String qName, Attributes attrs)
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerpublic void endElement(String uri, String name, String qName)
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerpublic void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerCopyright © 2016. All rights reserved.