public class HeadObjectRequest extends WebServiceRequest
NOOP
构造器和说明 |
---|
HeadObjectRequest(String bucketName,
String key) |
HeadObjectRequest(String bucketName,
String key,
String versionId) |
限定符和类型 | 方法和说明 |
---|---|
String |
getBucketName() |
String |
getKey() |
List<String> |
getMatchingETagConstraints() |
Date |
getModifiedSinceConstraint() |
List<String> |
getNonmatchingETagConstraints() |
Payer |
getRequestPayer()
*
Gets the one who pays for the request
|
Date |
getUnmodifiedSinceConstraint() |
String |
getVersionId()
Gets version id.
|
void |
setBucketName(String bucketName) |
void |
setKey(String key) |
void |
setMatchingETagConstraints(List<String> matchingETagConstraints) |
void |
setModifiedSinceConstraint(Date modifiedSinceConstraint) |
void |
setNonmatchingETagConstraints(List<String> nonmatchingETagConstraints) |
void |
setRequestPayer(Payer payer)
*
Sets the one who pays for the request
The Third party should set request payer when requesting resources.
|
void |
setUnmodifiedSinceConstraint(Date unmodifiedSinceConstraint) |
void |
setVersionId(String versionId)
Sets version id.
|
public String getBucketName()
public void setBucketName(String bucketName)
public String getKey()
public void setKey(String key)
public void setMatchingETagConstraints(List<String> matchingETagConstraints)
public void setNonmatchingETagConstraints(List<String> nonmatchingETagConstraints)
public Date getUnmodifiedSinceConstraint()
public void setUnmodifiedSinceConstraint(Date unmodifiedSinceConstraint)
public Date getModifiedSinceConstraint()
public void setModifiedSinceConstraint(Date modifiedSinceConstraint)
public String getVersionId()
public void setVersionId(String versionId)
versionId
- public void setRequestPayer(Payer payer)
Sets the one who pays for the request The Third party should set request payer when requesting resources.
payer
- The one who pays for the requestpublic Payer getRequestPayer()
Gets the one who pays for the request
Copyright © 2019. All Rights Reserved.