@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()
For responses, this returns true if the service returned a value for the AccessControlList property.
|
int |
hashCode() |
boolean |
hasTagging()
For responses, this returns true if the service returned a value for the Tagging property.
|
boolean |
hasUserMetadata()
For responses, this returns true if the service returned a value for the UserMetadata property.
|
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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAccessControlList() method.
public final boolean hasTagging()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTagging() method.
public final boolean hasUserMetadata()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasUserMetadata() method.
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 © 2023. All rights reserved.