Class CertificateReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.iot.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()certificateId(String certificateId) Sets the value ofCertificateReference.getCertificateId()
-
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
-
certificateId
Sets the value ofCertificateReference.getCertificateId()- Parameters:
certificateId- The Id 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
-