Class CfnTrustAnchorPropsMixin.SourceDataProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.rolesanywhere.CfnTrustAnchorPropsMixin.SourceDataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrustAnchorPropsMixin.SourceDataProperty>
- Enclosing interface:
CfnTrustAnchorPropsMixin.SourceDataProperty
@Stability(Stable)
public static final class CfnTrustAnchorPropsMixin.SourceDataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrustAnchorPropsMixin.SourceDataProperty>
A builder for
CfnTrustAnchorPropsMixin.SourceDataProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTrustAnchorPropsMixin.SourceDataProperty.getAcmPcaArn()build()Builds the configured instance.x509CertificateData(String x509CertificateData) Sets the value ofCfnTrustAnchorPropsMixin.SourceDataProperty.getX509CertificateData()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acmPcaArn
@Stability(Stable) public CfnTrustAnchorPropsMixin.SourceDataProperty.Builder acmPcaArn(String acmPcaArn) Sets the value ofCfnTrustAnchorPropsMixin.SourceDataProperty.getAcmPcaArn()- Parameters:
acmPcaArn- The root certificate of the Private Certificate Authority specified by this ARN is used in trust validation for temporary credential requests. Included for trust anchors of typeAWS_ACM_PCA.This field is not supported in your region.
- Returns:
this
-
x509CertificateData
@Stability(Stable) public CfnTrustAnchorPropsMixin.SourceDataProperty.Builder x509CertificateData(String x509CertificateData) Sets the value ofCfnTrustAnchorPropsMixin.SourceDataProperty.getX509CertificateData()- Parameters:
x509CertificateData- The PEM-encoded data for the certificate anchor. Included for trust anchors of typeCERTIFICATE_BUNDLE.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTrustAnchorPropsMixin.SourceDataProperty>- Returns:
- a new instance of
CfnTrustAnchorPropsMixin.SourceDataProperty - Throws:
NullPointerException- if any required attribute was not provided
-