Class BuildEnvironmentCertificate.Builder
java.lang.Object
software.amazon.awscdk.services.codebuild.BuildEnvironmentCertificate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BuildEnvironmentCertificate>
- Enclosing interface:
BuildEnvironmentCertificate
@Stability(Stable)
public static final class BuildEnvironmentCertificate.Builder
extends Object
implements software.amazon.jsii.Builder<BuildEnvironmentCertificate>
A builder for
BuildEnvironmentCertificate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofBuildEnvironmentCertificate.getBucket()
build()
Builds the configured instance.Sets the value ofBuildEnvironmentCertificate.getObjectKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofBuildEnvironmentCertificate.getBucket()
- Parameters:
bucket
- The bucket where the certificate is. This parameter is required.- Returns:
this
-
objectKey
Sets the value ofBuildEnvironmentCertificate.getObjectKey()
- Parameters:
objectKey
- The full path and name of the key file. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<BuildEnvironmentCertificate>
- Returns:
- a new instance of
BuildEnvironmentCertificate
- Throws:
NullPointerException
- if any required attribute was not provided
-