Interface S3Resource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3Resource.Builder,
,S3Resource> SdkBuilder<S3Resource.Builder,
,S3Resource> SdkPojo
- Enclosing class:
S3Resource
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of an Amazon S3 bucket.default S3Resource.Builder
keyRange
(Consumer<KeyRange.Builder> keyRange) For export jobs, you can provide an optionalKeyRange
within a specific Amazon S3 bucket.For export jobs, you can provide an optionalKeyRange
within a specific Amazon S3 bucket.targetOnDeviceServices
(Collection<TargetOnDeviceService> targetOnDeviceServices) Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into.targetOnDeviceServices
(Consumer<TargetOnDeviceService.Builder>... targetOnDeviceServices) Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into.targetOnDeviceServices
(TargetOnDeviceService... targetOnDeviceServices) Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
bucketArn
The Amazon Resource Name (ARN) of an Amazon S3 bucket.
- Parameters:
bucketArn
- The Amazon Resource Name (ARN) of an Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 inclusiveBeginMarker
, an inclusiveEndMarker
, or both. Ranges are UTF-8 binary sorted.- Parameters:
keyRange
- For export jobs, you can provide an optionalKeyRange
within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusiveBeginMarker
, an inclusiveEndMarker
, or both. Ranges are UTF-8 binary sorted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyRange
For export jobs, you can provide an optional
This is a convenience method that creates an instance of theKeyRange
within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusiveBeginMarker
, an inclusiveEndMarker
, or both. Ranges are UTF-8 binary sorted.KeyRange.Builder
avoiding the need to create one manually viaKeyRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyRange(KeyRange)
.- Parameters:
keyRange
- a consumer that will call methods onKeyRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetOnDeviceServices
S3Resource.Builder targetOnDeviceServices(Consumer<TargetOnDeviceService.Builder>... 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).
This is a convenience method that creates an instance of theTargetOnDeviceService.Builder
avoiding the need to create one manually viaTargetOnDeviceService.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetOnDeviceServices(List<TargetOnDeviceService>)
.- Parameters:
targetOnDeviceServices
- a consumer that will call methods onTargetOnDeviceService.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-