Class CfnSigningJob.S3SourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.signer.CfnSigningJob.S3SourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSigningJob.S3SourceProperty>
- Enclosing interface:
CfnSigningJob.S3SourceProperty
@Stability(Stable)
public static final class CfnSigningJob.S3SourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSigningJob.S3SourceProperty>
A builder for
CfnSigningJob.S3SourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Sets the value ofCfnSigningJob.S3SourceProperty.getBucketName()build()Builds the configured instance.Sets the value ofCfnSigningJob.S3SourceProperty.getKey()Sets the value ofCfnSigningJob.S3SourceProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
Sets the value ofCfnSigningJob.S3SourceProperty.getBucketName()- Parameters:
bucketName- Name of the S3 bucket. This parameter is required.- Returns:
this
-
key
Sets the value ofCfnSigningJob.S3SourceProperty.getKey()- Parameters:
key- Key name of the bucket object that contains unsigned code. This parameter is required.- Returns:
this
-
version
Sets the value ofCfnSigningJob.S3SourceProperty.getVersion()- Parameters:
version- Version of the source image in the version-enabled S3 bucket. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSigningJob.S3SourceProperty>- Returns:
- a new instance of
CfnSigningJob.S3SourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-