Class CfnPentest.CaCertificateSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.securityagent.CfnPentest.CaCertificateSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPentest.CaCertificateSourceProperty>
- Enclosing interface:
CfnPentest.CaCertificateSourceProperty
@Stability(Stable)
public static final class CfnPentest.CaCertificateSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPentest.CaCertificateSourceProperty>
A builder for
CfnPentest.CaCertificateSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartifactId(String artifactId) Sets the value ofCfnPentest.CaCertificateSourceProperty.getArtifactId()build()Builds the configured instance.Sets the value ofCfnPentest.CaCertificateSourceProperty.getInlinePem()s3Location(String s3Location) Sets the value ofCfnPentest.CaCertificateSourceProperty.getS3Location()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
artifactId
@Stability(Stable) public CfnPentest.CaCertificateSourceProperty.Builder artifactId(String artifactId) Sets the value ofCfnPentest.CaCertificateSourceProperty.getArtifactId()- Parameters:
artifactId- Artifact ID of an uploaded certificate file.- Returns:
this
-
inlinePem
@Stability(Stable) public CfnPentest.CaCertificateSourceProperty.Builder inlinePem(String inlinePem) Sets the value ofCfnPentest.CaCertificateSourceProperty.getInlinePem()- Parameters:
inlinePem- PEM-encoded X.509 certificate supplied inline.- Returns:
this
-
s3Location
@Stability(Stable) public CfnPentest.CaCertificateSourceProperty.Builder s3Location(String s3Location) Sets the value ofCfnPentest.CaCertificateSourceProperty.getS3Location()- Parameters:
s3Location- Amazon S3 location URI of a customer-staged certificate.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPentest.CaCertificateSourceProperty>- Returns:
- a new instance of
CfnPentest.CaCertificateSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-