Class CfnTrustAnchor.SourceDataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rolesanywhere.CfnTrustAnchor.SourceDataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrustAnchor.SourceDataProperty>
- Enclosing interface:
- CfnTrustAnchor.SourceDataProperty
@Stability(Stable)
public static final class CfnTrustAnchor.SourceDataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrustAnchor.SourceDataProperty>
A builder for
CfnTrustAnchor.SourceDataProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTrustAnchor.SourceDataProperty.getAcmPcaArn()
build()
Builds the configured instance.x509CertificateData
(String x509CertificateData) Sets the value ofCfnTrustAnchor.SourceDataProperty.getX509CertificateData()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acmPcaArn
Sets the value ofCfnTrustAnchor.SourceDataProperty.getAcmPcaArn()
- Parameters:
acmPcaArn
- The root certificate of the AWS 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 CfnTrustAnchor.SourceDataProperty.Builder x509CertificateData(String x509CertificateData) Sets the value ofCfnTrustAnchor.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnTrustAnchor.SourceDataProperty>
- Returns:
- a new instance of
CfnTrustAnchor.SourceDataProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-