@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()
Returns true if the TargetOnDeviceServices property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
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()
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. AWS Snow Family supports Amazon S3 and NFS (Network File System).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTargetOnDeviceServices() to see if a value was sent in this field.
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 © 2021. All rights reserved.