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