public static final class CfnEmailIdentity.DkimSigningAttributesProperty.Builder
extends java.lang.Object
CfnEmailIdentity.DkimSigningAttributesProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnEmailIdentity.DkimSigningAttributesProperty |
build()
Builds the configured instance.
|
CfnEmailIdentity.DkimSigningAttributesProperty.Builder |
domainSigningPrivateKey(java.lang.String domainSigningPrivateKey)
|
CfnEmailIdentity.DkimSigningAttributesProperty.Builder |
domainSigningSelector(java.lang.String domainSigningSelector)
|
CfnEmailIdentity.DkimSigningAttributesProperty.Builder |
nextSigningKeyLength(java.lang.String nextSigningKeyLength)
Sets the value of
CfnEmailIdentity.DkimSigningAttributesProperty.getNextSigningKeyLength() |
public CfnEmailIdentity.DkimSigningAttributesProperty.Builder domainSigningPrivateKey(java.lang.String domainSigningPrivateKey)
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.
this
public CfnEmailIdentity.DkimSigningAttributesProperty.Builder domainSigningSelector(java.lang.String domainSigningSelector)
domainSigningSelector
- [Bring Your Own DKIM] A string that's used to identify a public key in the DNS configuration for a domain.this
public CfnEmailIdentity.DkimSigningAttributesProperty.Builder nextSigningKeyLength(java.lang.String nextSigningKeyLength)
CfnEmailIdentity.DkimSigningAttributesProperty.getNextSigningKeyLength()
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
this
public CfnEmailIdentity.DkimSigningAttributesProperty build()
CfnEmailIdentity.DkimSigningAttributesProperty
java.lang.NullPointerException
- if any required attribute was not provided