@Generated(value="software.amazon.awssdk:codegen") public final class S3Location extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Location.Builder,S3Location>
Contains information about the location in Amazon S3 where the select job results are stored.
| 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 Amazon S3 bucket where the job results are stored.
|
static S3Location.Builder |
builder() |
CannedACL |
cannedACL()
The canned access control list (ACL) to apply to the job results.
|
String |
cannedACLAsString()
The canned access control list (ACL) to apply to the job results.
|
Encryption |
encryption()
Contains information about the encryption used to store the job results in Amazon S3.
|
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 |
hasTagging()
Returns true if the Tagging property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
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 results for this request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3Location.Builder> |
serializableBuilderClass() |
StorageClass |
storageClass()
The storage class used to store the job results.
|
String |
storageClassAsString()
The storage class used to store the job results.
|
Map<String,String> |
tagging()
The tag-set that is applied to the job results.
|
S3Location.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Map<String,String> |
userMetadata()
A map of metadata to store with the job results in Amazon S3.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String bucketName()
The name of the Amazon S3 bucket where the job results are stored.
public final String prefix()
The prefix that is prepended to the results for this request.
public final Encryption encryption()
Contains information about the encryption used to store the job results in Amazon S3.
public final CannedACL cannedACL()
The canned access control list (ACL) to apply to the job results.
If the service returns an enum value that is not available in the current SDK version, cannedACL will
return CannedACL.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
cannedACLAsString().
CannedACLpublic final String cannedACLAsString()
The canned access control list (ACL) to apply to the job results.
If the service returns an enum value that is not available in the current SDK version, cannedACL will
return CannedACL.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
cannedACLAsString().
CannedACLpublic final boolean hasAccessControlList()
public final 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 final boolean hasTagging()
public final Map<String,String> tagging()
The tag-set that is applied to the job results.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTagging() to see if a value was sent in this field.
public final boolean hasUserMetadata()
public final Map<String,String> userMetadata()
A map of metadata to store with the job results in Amazon 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 final StorageClass storageClass()
The storage class used to store the job 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().
StorageClasspublic final String storageClassAsString()
The storage class used to store the job 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().
StorageClasspublic S3Location.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<S3Location.Builder,S3Location>public static S3Location.Builder builder()
public static Class<? extends S3Location.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.