Class CfnCertificateMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificateMixinProps>
- Enclosing interface:
CfnCertificateMixinProps
CfnCertificateMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiPassthrough(CfnCertificatePropsMixin.ApiPassthroughProperty apiPassthrough) Sets the value ofCfnCertificateMixinProps.getApiPassthrough()apiPassthrough(IResolvable apiPassthrough) Sets the value ofCfnCertificateMixinProps.getApiPassthrough()build()Builds the configured instance.certificateAuthorityArn(String certificateAuthorityArn) Sets the value ofCfnCertificateMixinProps.getCertificateAuthorityArn()certificateAuthorityArn(ICertificateAuthorityRef certificateAuthorityArn) Sets the value ofCfnCertificateMixinProps.getCertificateAuthorityArn()certificateSigningRequest(String certificateSigningRequest) Sets the value ofCfnCertificateMixinProps.getCertificateSigningRequest()signingAlgorithm(String signingAlgorithm) Sets the value ofCfnCertificateMixinProps.getSigningAlgorithm()templateArn(String templateArn) Sets the value ofCfnCertificateMixinProps.getTemplateArn()templateArn(ICertificateAuthorityRef templateArn) Sets the value ofCfnCertificateMixinProps.getTemplateArn()Sets the value ofCfnCertificateMixinProps.getValidity()validity(IResolvable validity) Sets the value ofCfnCertificateMixinProps.getValidity()validityNotBefore(CfnCertificatePropsMixin.ValidityProperty validityNotBefore) Sets the value ofCfnCertificateMixinProps.getValidityNotBefore()validityNotBefore(IResolvable validityNotBefore) Sets the value ofCfnCertificateMixinProps.getValidityNotBefore()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiPassthrough
@Stability(Stable) public CfnCertificateMixinProps.Builder apiPassthrough(IResolvable apiPassthrough) Sets the value ofCfnCertificateMixinProps.getApiPassthrough()- Parameters:
apiPassthrough- Specifies X.509 certificate information to be included in the issued certificate. AnAPIPassthroughorAPICSRPassthroughtemplate variant must be selected, or else this parameter is ignored.- Returns:
this
-
apiPassthrough
@Stability(Stable) public CfnCertificateMixinProps.Builder apiPassthrough(CfnCertificatePropsMixin.ApiPassthroughProperty apiPassthrough) Sets the value ofCfnCertificateMixinProps.getApiPassthrough()- Parameters:
apiPassthrough- Specifies X.509 certificate information to be included in the issued certificate. AnAPIPassthroughorAPICSRPassthroughtemplate variant must be selected, or else this parameter is ignored.- Returns:
this
-
certificateAuthorityArn
@Stability(Stable) public CfnCertificateMixinProps.Builder certificateAuthorityArn(String certificateAuthorityArn) Sets the value ofCfnCertificateMixinProps.getCertificateAuthorityArn()- Parameters:
certificateAuthorityArn- The Amazon Resource Name (ARN) for the private CA issues the certificate.- Returns:
this
-
certificateAuthorityArn
@Stability(Stable) public CfnCertificateMixinProps.Builder certificateAuthorityArn(ICertificateAuthorityRef certificateAuthorityArn) Sets the value ofCfnCertificateMixinProps.getCertificateAuthorityArn()- Parameters:
certificateAuthorityArn- The Amazon Resource Name (ARN) for the private CA issues the certificate.- Returns:
this
-
certificateSigningRequest
@Stability(Stable) public CfnCertificateMixinProps.Builder certificateSigningRequest(String certificateSigningRequest) Sets the value ofCfnCertificateMixinProps.getCertificateSigningRequest()- Parameters:
certificateSigningRequest- The certificate signing request (CSR) for the certificate.- Returns:
this
-
signingAlgorithm
@Stability(Stable) public CfnCertificateMixinProps.Builder signingAlgorithm(String signingAlgorithm) Sets the value ofCfnCertificateMixinProps.getSigningAlgorithm()- Parameters:
signingAlgorithm- The name of the algorithm that will be used to sign the certificate to be issued. This parameter should not be confused with theSigningAlgorithmparameter used to sign a CSR in theCreateCertificateAuthorityaction.The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.
- Returns:
this
-
templateArn
Sets the value ofCfnCertificateMixinProps.getTemplateArn()- Parameters:
templateArn- Specifies a custom configuration template to use when issuing a certificate. If this parameter is not provided, AWS Private CA defaults to theEndEntityCertificate/V1template. For more information about AWS Private CA templates, see Using Templates .- Returns:
this
-
templateArn
@Stability(Stable) public CfnCertificateMixinProps.Builder templateArn(ICertificateAuthorityRef templateArn) Sets the value ofCfnCertificateMixinProps.getTemplateArn()- Parameters:
templateArn- Specifies a custom configuration template to use when issuing a certificate. If this parameter is not provided, AWS Private CA defaults to theEndEntityCertificate/V1template. For more information about AWS Private CA templates, see Using Templates .- Returns:
this
-
validity
Sets the value ofCfnCertificateMixinProps.getValidity()- Parameters:
validity- The period of time during which the certificate will be valid.- Returns:
this
-
validity
@Stability(Stable) public CfnCertificateMixinProps.Builder validity(CfnCertificatePropsMixin.ValidityProperty validity) Sets the value ofCfnCertificateMixinProps.getValidity()- Parameters:
validity- The period of time during which the certificate will be valid.- Returns:
this
-
validityNotBefore
@Stability(Stable) public CfnCertificateMixinProps.Builder validityNotBefore(IResolvable validityNotBefore) Sets the value ofCfnCertificateMixinProps.getValidityNotBefore()- Parameters:
validityNotBefore- Information describing the start of the validity period of the certificate. This parameter sets the “Not Before" date for the certificate.By default, when issuing a certificate, AWS Private CA sets the "Not Before" date to the issuance time minus 60 minutes. This compensates for clock inconsistencies across computer systems. The
ValidityNotBeforeparameter can be used to customize the “Not Before” value.Unlike the
Validityparameter, theValidityNotBeforeparameter is optional.The
ValidityNotBeforevalue is expressed as an explicit date and time, using theValiditytype valueABSOLUTE.- Returns:
this
-
validityNotBefore
@Stability(Stable) public CfnCertificateMixinProps.Builder validityNotBefore(CfnCertificatePropsMixin.ValidityProperty validityNotBefore) Sets the value ofCfnCertificateMixinProps.getValidityNotBefore()- Parameters:
validityNotBefore- Information describing the start of the validity period of the certificate. This parameter sets the “Not Before" date for the certificate.By default, when issuing a certificate, AWS Private CA sets the "Not Before" date to the issuance time minus 60 minutes. This compensates for clock inconsistencies across computer systems. The
ValidityNotBeforeparameter can be used to customize the “Not Before” value.Unlike the
Validityparameter, theValidityNotBeforeparameter is optional.The
ValidityNotBeforevalue is expressed as an explicit date and time, using theValiditytype valueABSOLUTE.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCertificateMixinProps>- Returns:
- a new instance of
CfnCertificateMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-