Interface S3Resource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3Resource.Builder,S3Resource>,SdkBuilder<S3Resource.Builder,S3Resource>,SdkPojo
- Enclosing class:
- S3Resource
public static interface S3Resource.Builder extends SdkPojo, CopyableBuilder<S3Resource.Builder,S3Resource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description S3Resource.BuilderbucketArn(String bucketArn)The Amazon Resource Name (ARN) of an Amazon S3 bucket.default S3Resource.BuilderkeyRange(Consumer<KeyRange.Builder> keyRange)For export jobs, you can provide an optionalKeyRangewithin a specific Amazon S3 bucket.S3Resource.BuilderkeyRange(KeyRange keyRange)For export jobs, you can provide an optionalKeyRangewithin a specific Amazon S3 bucket.S3Resource.BuildertargetOnDeviceServices(Collection<TargetOnDeviceService> targetOnDeviceServices)Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into.S3Resource.BuildertargetOnDeviceServices(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.S3Resource.BuildertargetOnDeviceServices(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 Detail
-
bucketArn
S3Resource.Builder bucketArn(String 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
S3Resource.Builder keyRange(KeyRange keyRange)
For export jobs, you can provide an optional
KeyRangewithin 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 optionalKeyRangewithin 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
default S3Resource.Builder keyRange(Consumer<KeyRange.Builder> keyRange)
For export jobs, you can provide an optional
This is a convenience method that creates an instance of theKeyRangewithin 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.Builderavoiding the need to create one manually viaKeyRange.builder().When the
Consumercompletes,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:
keyRange(KeyRange)
-
targetOnDeviceServices
S3Resource.Builder 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. 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(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).
- 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.Builderavoiding the need to create one manually viaTargetOnDeviceService.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targetOnDeviceServices(List.) - 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:
#targetOnDeviceServices(java.util.Collection)
-
-