public static final class CfnCertificate.KeyUsageProperty.Builder
extends java.lang.Object
CfnCertificate.KeyUsageProperty
Constructor and Description |
---|
Builder() |
public CfnCertificate.KeyUsageProperty.Builder crlSign(java.lang.Boolean crlSign)
CfnCertificate.KeyUsageProperty.getCrlSign()
crlSign
- Key can be used to sign CRLs.this
public CfnCertificate.KeyUsageProperty.Builder crlSign(IResolvable crlSign)
CfnCertificate.KeyUsageProperty.getCrlSign()
crlSign
- Key can be used to sign CRLs.this
public CfnCertificate.KeyUsageProperty.Builder dataEncipherment(java.lang.Boolean dataEncipherment)
CfnCertificate.KeyUsageProperty.getDataEncipherment()
dataEncipherment
- Key can be used to decipher data.this
public CfnCertificate.KeyUsageProperty.Builder dataEncipherment(IResolvable dataEncipherment)
CfnCertificate.KeyUsageProperty.getDataEncipherment()
dataEncipherment
- Key can be used to decipher data.this
public CfnCertificate.KeyUsageProperty.Builder decipherOnly(java.lang.Boolean decipherOnly)
CfnCertificate.KeyUsageProperty.getDecipherOnly()
decipherOnly
- Key can be used only to decipher data.this
public CfnCertificate.KeyUsageProperty.Builder decipherOnly(IResolvable decipherOnly)
CfnCertificate.KeyUsageProperty.getDecipherOnly()
decipherOnly
- Key can be used only to decipher data.this
public CfnCertificate.KeyUsageProperty.Builder digitalSignature(java.lang.Boolean digitalSignature)
CfnCertificate.KeyUsageProperty.getDigitalSignature()
digitalSignature
- Key can be used for digital signing.this
public CfnCertificate.KeyUsageProperty.Builder digitalSignature(IResolvable digitalSignature)
CfnCertificate.KeyUsageProperty.getDigitalSignature()
digitalSignature
- Key can be used for digital signing.this
public CfnCertificate.KeyUsageProperty.Builder encipherOnly(java.lang.Boolean encipherOnly)
CfnCertificate.KeyUsageProperty.getEncipherOnly()
encipherOnly
- Key can be used only to encipher data.this
public CfnCertificate.KeyUsageProperty.Builder encipherOnly(IResolvable encipherOnly)
CfnCertificate.KeyUsageProperty.getEncipherOnly()
encipherOnly
- Key can be used only to encipher data.this
public CfnCertificate.KeyUsageProperty.Builder keyAgreement(java.lang.Boolean keyAgreement)
CfnCertificate.KeyUsageProperty.getKeyAgreement()
keyAgreement
- Key can be used in a key-agreement protocol.this
public CfnCertificate.KeyUsageProperty.Builder keyAgreement(IResolvable keyAgreement)
CfnCertificate.KeyUsageProperty.getKeyAgreement()
keyAgreement
- Key can be used in a key-agreement protocol.this
public CfnCertificate.KeyUsageProperty.Builder keyCertSign(java.lang.Boolean keyCertSign)
CfnCertificate.KeyUsageProperty.getKeyCertSign()
keyCertSign
- Key can be used to sign certificates.this
public CfnCertificate.KeyUsageProperty.Builder keyCertSign(IResolvable keyCertSign)
CfnCertificate.KeyUsageProperty.getKeyCertSign()
keyCertSign
- Key can be used to sign certificates.this
public CfnCertificate.KeyUsageProperty.Builder keyEncipherment(java.lang.Boolean keyEncipherment)
CfnCertificate.KeyUsageProperty.getKeyEncipherment()
keyEncipherment
- Key can be used to encipher data.this
public CfnCertificate.KeyUsageProperty.Builder keyEncipherment(IResolvable keyEncipherment)
CfnCertificate.KeyUsageProperty.getKeyEncipherment()
keyEncipherment
- Key can be used to encipher data.this
public CfnCertificate.KeyUsageProperty.Builder nonRepudiation(java.lang.Boolean nonRepudiation)
CfnCertificate.KeyUsageProperty.getNonRepudiation()
nonRepudiation
- Key can be used for non-repudiation.this
public CfnCertificate.KeyUsageProperty.Builder nonRepudiation(IResolvable nonRepudiation)
CfnCertificate.KeyUsageProperty.getNonRepudiation()
nonRepudiation
- Key can be used for non-repudiation.this
public CfnCertificate.KeyUsageProperty build()
CfnCertificate.KeyUsageProperty
java.lang.NullPointerException
- if any required attribute was not provided