Class CfnBlueprintProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnBlueprintProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBlueprintProps>
- Enclosing interface:
CfnBlueprintProps
@Stability(Stable)
public static final class CfnBlueprintProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBlueprintProps>
A builder for
CfnBlueprintProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblueprintName(String blueprintName) Sets the value ofCfnBlueprintProps.getBlueprintName()build()Builds the configured instance.kmsEncryptionContext(Map<String, String> kmsEncryptionContext) Sets the value ofCfnBlueprintProps.getKmsEncryptionContext()kmsEncryptionContext(IResolvable kmsEncryptionContext) Sets the value ofCfnBlueprintProps.getKmsEncryptionContext()Sets the value ofCfnBlueprintProps.getKmsKeyId()Sets the value ofCfnBlueprintProps.getSchema()Sets the value ofCfnBlueprintProps.getTags()Sets the value ofCfnBlueprintProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
blueprintName
Sets the value ofCfnBlueprintProps.getBlueprintName()- Parameters:
blueprintName- The blueprint's name. This parameter is required.- Returns:
this
-
schema
Sets the value ofCfnBlueprintProps.getSchema()- Parameters:
schema- The blueprint's schema. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnBlueprintProps.getType()- Parameters:
type- The blueprint's type. This parameter is required.- Returns:
this
-
kmsEncryptionContext
@Stability(Stable) public CfnBlueprintProps.Builder kmsEncryptionContext(Map<String, String> kmsEncryptionContext) Sets the value ofCfnBlueprintProps.getKmsEncryptionContext()- Parameters:
kmsEncryptionContext- Name-value pairs to include as an encryption context.- Returns:
this
-
kmsEncryptionContext
@Stability(Stable) public CfnBlueprintProps.Builder kmsEncryptionContext(IResolvable kmsEncryptionContext) Sets the value ofCfnBlueprintProps.getKmsEncryptionContext()- Parameters:
kmsEncryptionContext- Name-value pairs to include as an encryption context.- Returns:
this
-
kmsKeyId
Sets the value ofCfnBlueprintProps.getKmsKeyId()- Parameters:
kmsKeyId- The AWS key to use for encryption.- Returns:
this
-
tags
Sets the value ofCfnBlueprintProps.getTags()- Parameters:
tags- List of Tags.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBlueprintProps>- Returns:
- a new instance of
CfnBlueprintProps - Throws:
NullPointerException- if any required attribute was not provided
-