@Generated(value="software.amazon.awssdk:codegen") public final class S3Resource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Resource.Builder,S3Resource>
Each S3Resource object represents an Amazon S3 bucket that your transferred data will be exported from
or imported into. For export jobs, this object can have an optional KeyRange value. The length of the
range is defined at job creation, and has either an inclusive BeginMarker, an inclusive
EndMarker, or both. Ranges are UTF-8 binary sorted.
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3Resource.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
bucketArn()
The Amazon Resource Name (ARN) of an Amazon S3 bucket.
|
static S3Resource.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTargetOnDeviceServices()
For responses, this returns true if the service returned a value for the TargetOnDeviceServices property.
|
KeyRange |
keyRange()
For export jobs, you can provide an optional
KeyRange within a specific Amazon S3 bucket. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3Resource.Builder> |
serializableBuilderClass() |
List<TargetOnDeviceService> |
targetOnDeviceServices()
Specifies the service or services on the Snow Family device that your transferred data will be exported from or
imported into.
|
S3Resource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String bucketArn()
The Amazon Resource Name (ARN) of an Amazon S3 bucket.
public final KeyRange keyRange()
For export jobs, you can provide an optional KeyRange within a specific Amazon S3 bucket. The length
of the range is defined at job creation, and has either an inclusive BeginMarker, an inclusive
EndMarker, or both. Ranges are UTF-8 binary sorted.
KeyRange within a specific Amazon S3 bucket.
The length of the range is defined at job creation, and has either an inclusive BeginMarker,
an inclusive EndMarker, or both. Ranges are UTF-8 binary sorted.public final boolean hasTargetOnDeviceServices()
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<TargetOnDeviceService> targetOnDeviceServices()
Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System).
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 hasTargetOnDeviceServices() method.
public S3Resource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<S3Resource.Builder,S3Resource>public static S3Resource.Builder builder()
public static Class<? extends S3Resource.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.