Interface VectorBucket.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VectorBucket.Builder,
,VectorBucket> SdkBuilder<VectorBucket.Builder,
,VectorBucket> SdkPojo
- Enclosing class:
VectorBucket
@Mutable
@NotThreadSafe
public static interface VectorBucket.Builder
extends SdkPojo, CopyableBuilder<VectorBucket.Builder,VectorBucket>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) Date and time when the vector bucket was created.default VectorBucket.Builder
encryptionConfiguration
(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The encryption configuration for the vector bucket.encryptionConfiguration
(EncryptionConfiguration encryptionConfiguration) The encryption configuration for the vector bucket.vectorBucketArn
(String vectorBucketArn) The Amazon Resource Name (ARN) of the vector bucket.vectorBucketName
(String vectorBucketName) The name of the vector bucket.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, sdkFieldNameToField, sdkFields
-
Method Details
-
vectorBucketName
The name of the vector bucket.
- Parameters:
vectorBucketName
- The name of the vector bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorBucketArn
The Amazon Resource Name (ARN) of the vector bucket.
- Parameters:
vectorBucketArn
- The Amazon Resource Name (ARN) of the vector bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
Date and time when the vector bucket was created.
- Parameters:
creationTime
- Date and time when the vector bucket was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
The encryption configuration for the vector bucket.
- Parameters:
encryptionConfiguration
- The encryption configuration for the vector bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default VectorBucket.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The encryption configuration for the vector bucket.
This is a convenience method that creates an instance of theEncryptionConfiguration.Builder
avoiding the need to create one manually viaEncryptionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration)
.- Parameters:
encryptionConfiguration
- a consumer that will call methods onEncryptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-