Class CertificateReference.Builder
java.lang.Object
software.amazon.awscdk.services.lightsail.CertificateReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CertificateReference>
- Enclosing interface:
CertificateReference
@Stability(Stable)
public static final class CertificateReference.Builder
extends Object
implements software.amazon.jsii.Builder<CertificateReference>
A builder for
CertificateReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certificateArn(String certificateArn) Sets the value ofCertificateReference.getCertificateArn()certificateName(String certificateName) Sets the value ofCertificateReference.getCertificateName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificateArn
Sets the value ofCertificateReference.getCertificateArn()- Parameters:
certificateArn- The ARN of the Certificate resource. This parameter is required.- Returns:
this
-
certificateName
Sets the value ofCertificateReference.getCertificateName()- Parameters:
certificateName- The CertificateName of the Certificate resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CertificateReference>- Returns:
- a new instance of
CertificateReference - Throws:
NullPointerException- if any required attribute was not provided
-