Class CfnKnowledgeBase.SupplementalDataStorageLocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.SupplementalDataStorageLocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBase.SupplementalDataStorageLocationProperty>
- Enclosing interface:
CfnKnowledgeBase.SupplementalDataStorageLocationProperty
@Stability(Stable)
public static final class CfnKnowledgeBase.SupplementalDataStorageLocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBase.SupplementalDataStorageLocationProperty>
A builder for
CfnKnowledgeBase.SupplementalDataStorageLocationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.s3Location
(IResolvable s3Location) Sets the value ofCfnKnowledgeBase.SupplementalDataStorageLocationProperty.getS3Location()
s3Location
(CfnKnowledgeBase.S3LocationProperty s3Location) Sets the value ofCfnKnowledgeBase.SupplementalDataStorageLocationProperty.getS3Location()
supplementalDataStorageLocationType
(String supplementalDataStorageLocationType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
supplementalDataStorageLocationType
@Stability(Stable) public CfnKnowledgeBase.SupplementalDataStorageLocationProperty.Builder supplementalDataStorageLocationType(String supplementalDataStorageLocationType) Sets the value ofCfnKnowledgeBase.SupplementalDataStorageLocationProperty.getSupplementalDataStorageLocationType()
- Parameters:
supplementalDataStorageLocationType
- Supplemental data storage location type. This parameter is required.- Returns:
this
-
s3Location
@Stability(Stable) public CfnKnowledgeBase.SupplementalDataStorageLocationProperty.Builder s3Location(IResolvable s3Location) Sets the value ofCfnKnowledgeBase.SupplementalDataStorageLocationProperty.getS3Location()
- Parameters:
s3Location
- Contains information about the Amazon S3 location for the extracted images.- Returns:
this
-
s3Location
@Stability(Stable) public CfnKnowledgeBase.SupplementalDataStorageLocationProperty.Builder s3Location(CfnKnowledgeBase.S3LocationProperty s3Location) Sets the value ofCfnKnowledgeBase.SupplementalDataStorageLocationProperty.getS3Location()
- Parameters:
s3Location
- Contains information about the Amazon S3 location for the extracted images.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBase.SupplementalDataStorageLocationProperty>
- Returns:
- a new instance of
CfnKnowledgeBase.SupplementalDataStorageLocationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-