Class CfnConfigurationBundle.VersionLineageMetadataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnConfigurationBundle.VersionLineageMetadataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationBundle.VersionLineageMetadataProperty>
- Enclosing interface:
CfnConfigurationBundle.VersionLineageMetadataProperty
@Stability(Stable)
public static final class CfnConfigurationBundle.VersionLineageMetadataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationBundle.VersionLineageMetadataProperty>
A builder for
CfnConfigurationBundle.VersionLineageMetadataProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbranchName(String branchName) Sets the value ofCfnConfigurationBundle.VersionLineageMetadataProperty.getBranchName()build()Builds the configured instance.commitMessage(String commitMessage) Sets the value ofCfnConfigurationBundle.VersionLineageMetadataProperty.getCommitMessage()createdBy(IResolvable createdBy) Sets the value ofCfnConfigurationBundle.VersionLineageMetadataProperty.getCreatedBy()Sets the value ofCfnConfigurationBundle.VersionLineageMetadataProperty.getCreatedBy()parentVersionIds(List<String> parentVersionIds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
branchName
@Stability(Stable) public CfnConfigurationBundle.VersionLineageMetadataProperty.Builder branchName(String branchName) Sets the value ofCfnConfigurationBundle.VersionLineageMetadataProperty.getBranchName()- Parameters:
branchName- The branch name for this version.- Returns:
this
-
commitMessage
@Stability(Stable) public CfnConfigurationBundle.VersionLineageMetadataProperty.Builder commitMessage(String commitMessage) Sets the value ofCfnConfigurationBundle.VersionLineageMetadataProperty.getCommitMessage()- Parameters:
commitMessage- A commit message describing the changes in this version.- Returns:
this
-
createdBy
@Stability(Stable) public CfnConfigurationBundle.VersionLineageMetadataProperty.Builder createdBy(IResolvable createdBy) Sets the value ofCfnConfigurationBundle.VersionLineageMetadataProperty.getCreatedBy()- Parameters:
createdBy- The source that created a configuration bundle version.- Returns:
this
-
createdBy
@Stability(Stable) public CfnConfigurationBundle.VersionLineageMetadataProperty.Builder createdBy(CfnConfigurationBundle.VersionCreatedBySourceProperty createdBy) Sets the value ofCfnConfigurationBundle.VersionLineageMetadataProperty.getCreatedBy()- Parameters:
createdBy- The source that created a configuration bundle version.- Returns:
this
-
parentVersionIds
@Stability(Stable) public CfnConfigurationBundle.VersionLineageMetadataProperty.Builder parentVersionIds(List<String> parentVersionIds) - Parameters:
parentVersionIds- A list of parent version identifiers.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationBundle.VersionLineageMetadataProperty>- Returns:
- a new instance of
CfnConfigurationBundle.VersionLineageMetadataProperty - Throws:
NullPointerException- if any required attribute was not provided
-