@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Location extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the location in Amazon S3 where the select job results are stored.
Constructor and Description |
---|
S3Location() |
Modifier and Type | Method and Description |
---|---|
S3Location |
addTaggingEntry(String key,
String value) |
S3Location |
addUserMetadataEntry(String key,
String value) |
S3Location |
clearTaggingEntries()
Removes all the entries added into Tagging.
|
S3Location |
clearUserMetadataEntries()
Removes all the entries added into UserMetadata.
|
S3Location |
clone() |
boolean |
equals(Object obj) |
List<Grant> |
getAccessControlList()
A list of grants that control access to the staged results.
|
String |
getBucketName()
The name of the bucket where the restore results are stored.
|
String |
getCannedACL()
The canned ACL to apply to the restore results.
|
Encryption |
getEncryption()
Contains information about the encryption used to store the job results in Amazon S3.
|
String |
getPrefix()
The prefix that is prepended to the restore results for this request.
|
String |
getStorageClass()
The storage class used to store the restore results.
|
Map<String,String> |
getTagging()
The tag-set that is applied to the restore results.
|
Map<String,String> |
getUserMetadata()
A map of metadata to store with the restore results in Amazon S3.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessControlList(Collection<Grant> accessControlList)
A list of grants that control access to the staged results.
|
void |
setBucketName(String bucketName)
The name of the bucket where the restore results are stored.
|
void |
setCannedACL(String cannedACL)
The canned ACL to apply to the restore results.
|
void |
setEncryption(Encryption encryption)
Contains information about the encryption used to store the job results in Amazon S3.
|
void |
setPrefix(String prefix)
The prefix that is prepended to the restore results for this request.
|
void |
setStorageClass(String storageClass)
The storage class used to store the restore results.
|
void |
setTagging(Map<String,String> tagging)
The tag-set that is applied to the restore results.
|
void |
setUserMetadata(Map<String,String> userMetadata)
A map of metadata to store with the restore results in Amazon S3.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
S3Location |
withAccessControlList(Collection<Grant> accessControlList)
A list of grants that control access to the staged results.
|
S3Location |
withAccessControlList(Grant... accessControlList)
A list of grants that control access to the staged results.
|
S3Location |
withBucketName(String bucketName)
The name of the bucket where the restore results are stored.
|
S3Location |
withCannedACL(CannedACL cannedACL)
The canned ACL to apply to the restore results.
|
S3Location |
withCannedACL(String cannedACL)
The canned ACL to apply to the restore results.
|
S3Location |
withEncryption(Encryption encryption)
Contains information about the encryption used to store the job results in Amazon S3.
|
S3Location |
withPrefix(String prefix)
The prefix that is prepended to the restore results for this request.
|
S3Location |
withStorageClass(StorageClass storageClass)
The storage class used to store the restore results.
|
S3Location |
withStorageClass(String storageClass)
The storage class used to store the restore results.
|
S3Location |
withTagging(Map<String,String> tagging)
The tag-set that is applied to the restore results.
|
S3Location |
withUserMetadata(Map<String,String> userMetadata)
A map of metadata to store with the restore results in Amazon S3.
|
public void setBucketName(String bucketName)
The name of the bucket where the restore results are stored.
bucketName
- The name of the bucket where the restore results are stored.public String getBucketName()
The name of the bucket where the restore results are stored.
public S3Location withBucketName(String bucketName)
The name of the bucket where the restore results are stored.
bucketName
- The name of the bucket where the restore results are stored.public void setPrefix(String prefix)
The prefix that is prepended to the restore results for this request.
prefix
- The prefix that is prepended to the restore results for this request.public String getPrefix()
The prefix that is prepended to the restore results for this request.
public S3Location withPrefix(String prefix)
The prefix that is prepended to the restore results for this request.
prefix
- The prefix that is prepended to the restore results for this request.public void setEncryption(Encryption encryption)
Contains information about the encryption used to store the job results in Amazon S3.
encryption
- Contains information about the encryption used to store the job results in Amazon S3.public Encryption getEncryption()
Contains information about the encryption used to store the job results in Amazon S3.
public S3Location withEncryption(Encryption encryption)
Contains information about the encryption used to store the job results in Amazon S3.
encryption
- Contains information about the encryption used to store the job results in Amazon S3.public void setCannedACL(String cannedACL)
The canned ACL to apply to the restore results.
cannedACL
- The canned ACL to apply to the restore results.CannedACL
public String getCannedACL()
The canned ACL to apply to the restore results.
CannedACL
public S3Location withCannedACL(String cannedACL)
The canned ACL to apply to the restore results.
cannedACL
- The canned ACL to apply to the restore results.CannedACL
public S3Location withCannedACL(CannedACL cannedACL)
The canned ACL to apply to the restore results.
cannedACL
- The canned ACL to apply to the restore results.CannedACL
public List<Grant> getAccessControlList()
A list of grants that control access to the staged results.
public void setAccessControlList(Collection<Grant> accessControlList)
A list of grants that control access to the staged results.
accessControlList
- A list of grants that control access to the staged results.public S3Location withAccessControlList(Grant... accessControlList)
A list of grants that control access to the staged results.
NOTE: This method appends the values to the existing list (if any). Use
setAccessControlList(java.util.Collection)
or withAccessControlList(java.util.Collection)
if
you want to override the existing values.
accessControlList
- A list of grants that control access to the staged results.public S3Location withAccessControlList(Collection<Grant> accessControlList)
A list of grants that control access to the staged results.
accessControlList
- A list of grants that control access to the staged results.public Map<String,String> getTagging()
The tag-set that is applied to the restore results.
public void setTagging(Map<String,String> tagging)
The tag-set that is applied to the restore results.
tagging
- The tag-set that is applied to the restore results.public S3Location withTagging(Map<String,String> tagging)
The tag-set that is applied to the restore results.
tagging
- The tag-set that is applied to the restore results.public S3Location addTaggingEntry(String key, String value)
public S3Location clearTaggingEntries()
public Map<String,String> getUserMetadata()
A map of metadata to store with the restore results in Amazon S3.
public void setUserMetadata(Map<String,String> userMetadata)
A map of metadata to store with the restore results in Amazon S3.
userMetadata
- A map of metadata to store with the restore results in Amazon S3.public S3Location withUserMetadata(Map<String,String> userMetadata)
A map of metadata to store with the restore results in Amazon S3.
userMetadata
- A map of metadata to store with the restore results in Amazon S3.public S3Location addUserMetadataEntry(String key, String value)
public S3Location clearUserMetadataEntries()
public void setStorageClass(String storageClass)
The storage class used to store the restore results.
storageClass
- The storage class used to store the restore results.StorageClass
public String getStorageClass()
The storage class used to store the restore results.
StorageClass
public S3Location withStorageClass(String storageClass)
The storage class used to store the restore results.
storageClass
- The storage class used to store the restore results.StorageClass
public S3Location withStorageClass(StorageClass storageClass)
The storage class used to store the restore results.
storageClass
- The storage class used to store the restore results.StorageClass
public String toString()
toString
in class Object
Object.toString()
public S3Location clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.