public class S3Location extends Object implements Serializable, Cloneable
Constructor and Description |
---|
S3Location() |
Modifier and Type | Method and Description |
---|---|
S3Location |
clone() |
boolean |
equals(Object obj) |
AccessControlList |
getAccessControlList() |
String |
getBucketName() |
String |
getCannedACL() |
Encryption |
getEncryption() |
String |
getPrefix() |
String |
getStorageClass() |
ObjectTagging |
getTagging() |
List<MetadataEntry> |
getUserMetadata() |
int |
hashCode() |
void |
setAccessControlList(AccessControlList accessControlList)
Sets the accessControlList
|
void |
setBucketName(String bucketName)
Sets the bucketName
|
void |
setCannedACL(String cannedACL)
Sets the cannedACL
|
void |
setEncryption(Encryption encryption)
Sets the encryption
|
void |
setPrefix(String prefix)
Sets the prefix
|
void |
setStorageClass(String storageClass)
Sets the storageClass
|
void |
setTagging(ObjectTagging tagging)
Sets the tagging
|
void |
setUserMetadata(List<MetadataEntry> userMetadata)
Sets the userMetadata
|
String |
toString() |
S3Location |
withAccessControlList(AccessControlList accessControlList)
Sets the list of grants that control access to the staged results.
|
S3Location |
withBucketName(String bucketName)
Sets the name of the bucket where the restore results will be placed.
|
S3Location |
withCannedACL(CannedAccessControlList cannedACL)
Sets the canned ACL to apply to the restore results.
|
S3Location |
withCannedACL(String cannedACL)
Sets the canned ACL to apply to the restore results.
|
S3Location |
withEncryption(Encryption encryption)
Sets the server-side encryption
|
S3Location |
withPrefix(String prefix)
Sets the prefix that is prepended to the restore results for this request.
|
S3Location |
withStorageClass(StorageClass storageClass)
Sets the class of storage used to store the restore results.
|
S3Location |
withStorageClass(String storageClass)
Sets the class of storage used to store the restore results.
|
S3Location |
withTagging(ObjectTagging tagging)
Sets the tag-set that is applied to the restore results.
|
S3Location |
withUserMetaData(List<MetadataEntry> userMetadata)
Sets the metadata to store with the restore results in S3.
|
public String getBucketName()
public void setBucketName(String bucketName)
bucketName
- The new bucketName value.public S3Location withBucketName(String bucketName)
bucketName
- The new bucketName value.public String getPrefix()
public void setPrefix(String prefix)
prefix
- The new prefix value.public S3Location withPrefix(String prefix)
prefix
- The new prefix value.public Encryption getEncryption()
public void setEncryption(Encryption encryption)
encryption
- The new encryption value.public S3Location withEncryption(Encryption encryption)
encryption
- The new encryption value.public String getCannedACL()
public void setCannedACL(String cannedACL)
cannedACL
- The new cannedACL value.public S3Location withCannedACL(String cannedACL)
cannedACL
- The new cannedACL value.public S3Location withCannedACL(CannedAccessControlList cannedACL)
cannedACL
- The new cannedACL value.public AccessControlList getAccessControlList()
public void setAccessControlList(AccessControlList accessControlList)
accessControlList
- The new accessControlList value.public S3Location withAccessControlList(AccessControlList accessControlList)
accessControlList
- The new accessControlList value.public ObjectTagging getTagging()
public void setTagging(ObjectTagging tagging)
tagging
- The new tagging value.public S3Location withTagging(ObjectTagging tagging)
tagging
- The new tagging value.public List<MetadataEntry> getUserMetadata()
public void setUserMetadata(List<MetadataEntry> userMetadata)
userMetadata
- The new userMetadata value.public S3Location withUserMetaData(List<MetadataEntry> userMetadata)
userMetadata
- The new userMetadata value.public String getStorageClass()
public void setStorageClass(String storageClass)
storageClass
- The new storageClass value.public S3Location withStorageClass(String storageClass)
storageClass
- The new storageClass value.public S3Location withStorageClass(StorageClass storageClass)
storageClass
- The new storageClass value.public S3Location clone()