Interface S3Object.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3Object.Builder,S3Object>,SdkBuilder<S3Object.Builder,S3Object>,SdkPojo
- Enclosing class:
- S3Object
public static interface S3Object.Builder extends SdkPojo, CopyableBuilder<S3Object.Builder,S3Object>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description S3Object.Builderbucket(String bucket)The name of the specific S3 bucket.S3Object.Builderkey(String key)The Amazon Web Services Key Management Service (KMS key) key being used to encrypt the S3 object.-
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
-
bucket
S3Object.Builder bucket(String bucket)
The name of the specific S3 bucket.
- Parameters:
bucket- The name of the specific S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
S3Object.Builder key(String key)
The Amazon Web Services Key Management Service (KMS key) key being used to encrypt the S3 object. Without this key, data in the bucket is not accessible.
- Parameters:
key- The Amazon Web Services Key Management Service (KMS key) key being used to encrypt the S3 object. Without this key, data in the bucket is not accessible.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-