Class CfnRuntimePropsMixin.S3LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnRuntimePropsMixin.S3LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuntimePropsMixin.S3LocationProperty>
- Enclosing interface:
CfnRuntimePropsMixin.S3LocationProperty
@Stability(Stable)
public static final class CfnRuntimePropsMixin.S3LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuntimePropsMixin.S3LocationProperty>
A builder for
CfnRuntimePropsMixin.S3LocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnRuntimePropsMixin.S3LocationProperty.getBucket()build()Builds the configured instance.Sets the value ofCfnRuntimePropsMixin.S3LocationProperty.getPrefix()Sets the value ofCfnRuntimePropsMixin.S3LocationProperty.getVersionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofCfnRuntimePropsMixin.S3LocationProperty.getBucket()- Parameters:
bucket- S3 bucket name.- Returns:
this
-
prefix
Sets the value ofCfnRuntimePropsMixin.S3LocationProperty.getPrefix()- Parameters:
prefix- S3 object key prefix.- Returns:
this
-
versionId
@Stability(Stable) public CfnRuntimePropsMixin.S3LocationProperty.Builder versionId(String versionId) Sets the value ofCfnRuntimePropsMixin.S3LocationProperty.getVersionId()- Parameters:
versionId- S3 object version ID.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuntimePropsMixin.S3LocationProperty>- Returns:
- a new instance of
CfnRuntimePropsMixin.S3LocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-