Class CfnTemplate.KeyUsageFlagsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnTemplate.KeyUsageFlagsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.KeyUsageFlagsProperty>
- Enclosing interface:
CfnTemplate.KeyUsageFlagsProperty
@Stability(Stable)
public static final class CfnTemplate.KeyUsageFlagsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.KeyUsageFlagsProperty>
A builder for
CfnTemplate.KeyUsageFlagsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataEncipherment(Boolean dataEncipherment) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getDataEncipherment()dataEncipherment(IResolvable dataEncipherment) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getDataEncipherment()digitalSignature(Boolean digitalSignature) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getDigitalSignature()digitalSignature(IResolvable digitalSignature) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getDigitalSignature()keyAgreement(Boolean keyAgreement) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getKeyAgreement()keyAgreement(IResolvable keyAgreement) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getKeyAgreement()keyEncipherment(Boolean keyEncipherment) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getKeyEncipherment()keyEncipherment(IResolvable keyEncipherment) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getKeyEncipherment()nonRepudiation(Boolean nonRepudiation) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getNonRepudiation()nonRepudiation(IResolvable nonRepudiation) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getNonRepudiation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataEncipherment
@Stability(Stable) public CfnTemplate.KeyUsageFlagsProperty.Builder dataEncipherment(Boolean dataEncipherment) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getDataEncipherment()- Parameters:
dataEncipherment- DataEncipherment is asserted when the subject public key is used for directly enciphering raw user data without the use of an intermediate symmetric cipher.- Returns:
this
-
dataEncipherment
@Stability(Stable) public CfnTemplate.KeyUsageFlagsProperty.Builder dataEncipherment(IResolvable dataEncipherment) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getDataEncipherment()- Parameters:
dataEncipherment- DataEncipherment is asserted when the subject public key is used for directly enciphering raw user data without the use of an intermediate symmetric cipher.- Returns:
this
-
digitalSignature
@Stability(Stable) public CfnTemplate.KeyUsageFlagsProperty.Builder digitalSignature(Boolean digitalSignature) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getDigitalSignature()- Parameters:
digitalSignature- The digitalSignature is asserted when the subject public key is used for verifying digital signatures.- Returns:
this
-
digitalSignature
@Stability(Stable) public CfnTemplate.KeyUsageFlagsProperty.Builder digitalSignature(IResolvable digitalSignature) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getDigitalSignature()- Parameters:
digitalSignature- The digitalSignature is asserted when the subject public key is used for verifying digital signatures.- Returns:
this
-
keyAgreement
@Stability(Stable) public CfnTemplate.KeyUsageFlagsProperty.Builder keyAgreement(Boolean keyAgreement) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getKeyAgreement()- Parameters:
keyAgreement- KeyAgreement is asserted when the subject public key is used for key agreement.- Returns:
this
-
keyAgreement
@Stability(Stable) public CfnTemplate.KeyUsageFlagsProperty.Builder keyAgreement(IResolvable keyAgreement) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getKeyAgreement()- Parameters:
keyAgreement- KeyAgreement is asserted when the subject public key is used for key agreement.- Returns:
this
-
keyEncipherment
@Stability(Stable) public CfnTemplate.KeyUsageFlagsProperty.Builder keyEncipherment(Boolean keyEncipherment) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getKeyEncipherment()- Parameters:
keyEncipherment- KeyEncipherment is asserted when the subject public key is used for enciphering private or secret keys, i.e., for key transport.- Returns:
this
-
keyEncipherment
@Stability(Stable) public CfnTemplate.KeyUsageFlagsProperty.Builder keyEncipherment(IResolvable keyEncipherment) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getKeyEncipherment()- Parameters:
keyEncipherment- KeyEncipherment is asserted when the subject public key is used for enciphering private or secret keys, i.e., for key transport.- Returns:
this
-
nonRepudiation
@Stability(Stable) public CfnTemplate.KeyUsageFlagsProperty.Builder nonRepudiation(Boolean nonRepudiation) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getNonRepudiation()- Parameters:
nonRepudiation- NonRepudiation is asserted when the subject public key is used to verify digital signatures.- Returns:
this
-
nonRepudiation
@Stability(Stable) public CfnTemplate.KeyUsageFlagsProperty.Builder nonRepudiation(IResolvable nonRepudiation) Sets the value ofCfnTemplate.KeyUsageFlagsProperty.getNonRepudiation()- Parameters:
nonRepudiation- NonRepudiation is asserted when the subject public key is used to verify digital signatures.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate.KeyUsageFlagsProperty>- Returns:
- a new instance of
CfnTemplate.KeyUsageFlagsProperty - Throws:
NullPointerException- if any required attribute was not provided
-