@Generated(value="software.amazon.awssdk:codegen") public final class S3Location extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Location.Builder,S3Location>
Describes an Amazon S3 location that will receive the results of the restore request.
Modifier and Type | Class and Description |
---|---|
static interface |
S3Location.Builder |
Modifier and Type | Method and Description |
---|---|
List<Grant> |
accessControlList()
A list of grants that control access to the staged results.
|
String |
bucketName()
The name of the bucket where the restore results will be placed.
|
static S3Location.Builder |
builder() |
ObjectCannedACL |
cannedACL()
The canned ACL to apply to the restore results.
|
String |
cannedACLAsString()
The canned ACL to apply to the restore results.
|
Encryption |
encryption()
Returns the value of the Encryption property for this object.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAccessControlList()
Returns true if the AccessControlList property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasUserMetadata()
Returns true if the UserMetadata property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
String |
prefix()
The prefix that is prepended to the restore results for this request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3Location.Builder> |
serializableBuilderClass() |
StorageClass |
storageClass()
The class of storage used to store the restore results.
|
String |
storageClassAsString()
The class of storage used to store the restore results.
|
Tagging |
tagging()
The tag-set that is applied to the restore results.
|
S3Location.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<MetadataEntry> |
userMetadata()
A list of metadata to store with the restore results in S3.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String bucketName()
The name of the bucket where the restore results will be placed.
public String prefix()
The prefix that is prepended to the restore results for this request.
public Encryption encryption()
public ObjectCannedACL cannedACL()
The canned ACL to apply to the restore results.
If the service returns an enum value that is not available in the current SDK version, cannedACL
will
return ObjectCannedACL.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
cannedACLAsString()
.
ObjectCannedACL
public String cannedACLAsString()
The canned ACL to apply to the restore results.
If the service returns an enum value that is not available in the current SDK version, cannedACL
will
return ObjectCannedACL.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
cannedACLAsString()
.
ObjectCannedACL
public boolean hasAccessControlList()
public List<Grant> accessControlList()
A list of grants that control access to the staged results.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAccessControlList()
to see if a value was sent in this field.
public Tagging tagging()
The tag-set that is applied to the restore results.
public boolean hasUserMetadata()
public List<MetadataEntry> userMetadata()
A list of metadata to store with the restore results in S3.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasUserMetadata()
to see if a value was sent in this field.
public StorageClass storageClass()
The class of storage used to store the restore results.
If the service returns an enum value that is not available in the current SDK version, storageClass
will
return StorageClass.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
storageClassAsString()
.
StorageClass
public String storageClassAsString()
The class of storage used to store the restore results.
If the service returns an enum value that is not available in the current SDK version, storageClass
will
return StorageClass.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
storageClassAsString()
.
StorageClass
public S3Location.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<S3Location.Builder,S3Location>
public static S3Location.Builder builder()
public static Class<? extends S3Location.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.