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