Class CfnConfigurationBundleProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnConfigurationBundleProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationBundleProps>
- Enclosing interface:
CfnConfigurationBundleProps
@Stability(Stable)
public static final class CfnConfigurationBundleProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationBundleProps>
A builder for
CfnConfigurationBundleProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbranchName(String branchName) Sets the value ofCfnConfigurationBundleProps.getBranchName()build()Builds the configured instance.bundleName(String bundleName) Sets the value ofCfnConfigurationBundleProps.getBundleName()commitMessage(String commitMessage) Sets the value ofCfnConfigurationBundleProps.getCommitMessage()components(Map<String, ? extends Object> components) Sets the value ofCfnConfigurationBundleProps.getComponents()components(IResolvable components) Sets the value ofCfnConfigurationBundleProps.getComponents()createdBy(IResolvable createdBy) Sets the value ofCfnConfigurationBundleProps.getCreatedBy()Sets the value ofCfnConfigurationBundleProps.getCreatedBy()description(String description) Sets the value ofCfnConfigurationBundleProps.getDescription()Sets the value ofCfnConfigurationBundleProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bundleName
Sets the value ofCfnConfigurationBundleProps.getBundleName()- Parameters:
bundleName- The name for the configuration bundle. This parameter is required. Names must be unique within your account.- Returns:
this
-
components
Sets the value ofCfnConfigurationBundleProps.getComponents()- Parameters:
components- A map of component identifiers to their configurations. This parameter is required.- Returns:
this
-
components
@Stability(Stable) public CfnConfigurationBundleProps.Builder components(Map<String, ? extends Object> components) Sets the value ofCfnConfigurationBundleProps.getComponents()- Parameters:
components- A map of component identifiers to their configurations. This parameter is required.- Returns:
this
-
branchName
Sets the value ofCfnConfigurationBundleProps.getBranchName()- Parameters:
branchName- The branch name for version tracking.- Returns:
this
-
commitMessage
Sets the value ofCfnConfigurationBundleProps.getCommitMessage()- Parameters:
commitMessage- A commit message describing the version of the configuration bundle.- Returns:
this
-
createdBy
Sets the value ofCfnConfigurationBundleProps.getCreatedBy()- Parameters:
createdBy- The source that created a configuration bundle version.- Returns:
this
-
createdBy
@Stability(Stable) public CfnConfigurationBundleProps.Builder createdBy(CfnConfigurationBundle.VersionCreatedBySourceProperty createdBy) Sets the value ofCfnConfigurationBundleProps.getCreatedBy()- Parameters:
createdBy- The source that created a configuration bundle version.- Returns:
this
-
description
Sets the value ofCfnConfigurationBundleProps.getDescription()- Parameters:
description- The description for the configuration bundle.- Returns:
this
-
tags
Sets the value ofCfnConfigurationBundleProps.getTags()- Parameters:
tags- Tags to assign to the configuration bundle.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationBundleProps>- Returns:
- a new instance of
CfnConfigurationBundleProps - Throws:
NullPointerException- if any required attribute was not provided
-