Class CfnEmailIdentityPropsMixin.DkimSigningAttributesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnEmailIdentityPropsMixin.DkimSigningAttributesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEmailIdentityPropsMixin.DkimSigningAttributesProperty>
- Enclosing interface:
CfnEmailIdentityPropsMixin.DkimSigningAttributesProperty
@Stability(Stable)
public static final class CfnEmailIdentityPropsMixin.DkimSigningAttributesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEmailIdentityPropsMixin.DkimSigningAttributesProperty>
A builder for
CfnEmailIdentityPropsMixin.DkimSigningAttributesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.domainSigningPrivateKey(String domainSigningPrivateKey) domainSigningSelector(String domainSigningSelector) nextSigningKeyLength(String nextSigningKeyLength)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainSigningPrivateKey
@Stability(Stable) public CfnEmailIdentityPropsMixin.DkimSigningAttributesProperty.Builder domainSigningPrivateKey(String domainSigningPrivateKey) Sets the value ofCfnEmailIdentityPropsMixin.DkimSigningAttributesProperty.getDomainSigningPrivateKey()- Parameters:
domainSigningPrivateKey- [Bring Your Own DKIM] A private key that's used to generate a DKIM signature. The private key must use 1024 or 2048-bit RSA encryption, and must be encoded using base64 encoding.Rather than embedding sensitive information directly in your CFN templates, we recommend you use dynamic parameters in the stack template to reference sensitive information that is stored and managed outside of CFN, such as in the AWS Systems Manager Parameter Store or AWS Secrets Manager.
For more information, see the Do not embed credentials in your templates best practice.
- Returns:
this
-
domainSigningSelector
@Stability(Stable) public CfnEmailIdentityPropsMixin.DkimSigningAttributesProperty.Builder domainSigningSelector(String domainSigningSelector) Sets the value ofCfnEmailIdentityPropsMixin.DkimSigningAttributesProperty.getDomainSigningSelector()- Parameters:
domainSigningSelector- [Bring Your Own DKIM] A string that's used to identify a public key in the DNS configuration for a domain.- Returns:
this
-
nextSigningKeyLength
@Stability(Stable) public CfnEmailIdentityPropsMixin.DkimSigningAttributesProperty.Builder nextSigningKeyLength(String nextSigningKeyLength) Sets the value ofCfnEmailIdentityPropsMixin.DkimSigningAttributesProperty.getNextSigningKeyLength()- Parameters:
nextSigningKeyLength- [Easy DKIM] The key length of the future DKIM key pair to be generated. This can be changed at most once per day.Valid Values:
RSA_1024_BIT | RSA_2048_BIT- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEmailIdentityPropsMixin.DkimSigningAttributesProperty>- Returns:
- a new instance of
CfnEmailIdentityPropsMixin.DkimSigningAttributesProperty - Throws:
NullPointerException- if any required attribute was not provided
-