Class S3ApiSchema.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.S3ApiSchema.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<S3ApiSchema>
- Enclosing class:
S3ApiSchema
@Stability(Stable)
public static final class S3ApiSchema.Builder
extends Object
implements software.amazon.jsii.Builder<S3ApiSchema>
A fluent builder for
S3ApiSchema.-
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) The name of the S3 Bucket the object is in.build()static S3ApiSchema.Buildercreate()static S3ApiSchema.BuilderThe path inside the Bucket where the object is located at.objectVersion(String objectVersion) The S3 object version.
-
Method Details
-
create
- Parameters:
bucketOwnerAccountId- The account ID of the S3 bucket owner for cross-account access.- Returns:
- a new instance of
S3ApiSchema.Builder.
-
create
- Returns:
- a new instance of
S3ApiSchema.Builder.
-
bucketName
The name of the S3 Bucket the object is in.- Parameters:
bucketName- The name of the S3 Bucket the object is in. This parameter is required.- Returns:
this
-
objectKey
The path inside the Bucket where the object is located at.- Parameters:
objectKey- The path inside the Bucket where the object is located at. This parameter is required.- Returns:
this
-
objectVersion
The S3 object version.- Parameters:
objectVersion- The S3 object version. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<S3ApiSchema>- Returns:
- a newly built instance of
S3ApiSchema.
-