Class CfnConfigurationBundle.VersionCreatedBySourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnConfigurationBundle.VersionCreatedBySourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationBundle.VersionCreatedBySourceProperty>
- Enclosing interface:
CfnConfigurationBundle.VersionCreatedBySourceProperty
@Stability(Stable)
public static final class CfnConfigurationBundle.VersionCreatedBySourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationBundle.VersionCreatedBySourceProperty>
A builder for
CfnConfigurationBundle.VersionCreatedBySourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnConfigurationBundle.VersionCreatedBySourceProperty.getArn()build()Builds the configured instance.Sets the value ofCfnConfigurationBundle.VersionCreatedBySourceProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnConfigurationBundle.VersionCreatedBySourceProperty.Builder name(String name) Sets the value ofCfnConfigurationBundle.VersionCreatedBySourceProperty.getName()- Parameters:
name- The name of the source (for example, user, optimization-job, or system). This parameter is required.- Returns:
this
-
arn
@Stability(Stable) public CfnConfigurationBundle.VersionCreatedBySourceProperty.Builder arn(String arn) Sets the value ofCfnConfigurationBundle.VersionCreatedBySourceProperty.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of the source, if applicable.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationBundle.VersionCreatedBySourceProperty>- Returns:
- a new instance of
CfnConfigurationBundle.VersionCreatedBySourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-