Class CfnPublicKeyProps.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnPublicKeyProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPublicKeyProps>
- Enclosing interface:
CfnPublicKeyProps
@Stability(Stable)
public static final class CfnPublicKeyProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPublicKeyProps>
A builder for
CfnPublicKeyProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.publicKeyConfig(IResolvable publicKeyConfig) Sets the value ofCfnPublicKeyProps.getPublicKeyConfig()publicKeyConfig(CfnPublicKey.PublicKeyConfigProperty publicKeyConfig) Sets the value ofCfnPublicKeyProps.getPublicKeyConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
publicKeyConfig
Sets the value ofCfnPublicKeyProps.getPublicKeyConfig()- Parameters:
publicKeyConfig- Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption . This parameter is required.- Returns:
this
-
publicKeyConfig
@Stability(Stable) public CfnPublicKeyProps.Builder publicKeyConfig(CfnPublicKey.PublicKeyConfigProperty publicKeyConfig) Sets the value ofCfnPublicKeyProps.getPublicKeyConfig()- Parameters:
publicKeyConfig- Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption . This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPublicKeyProps>- Returns:
- a new instance of
CfnPublicKeyProps - Throws:
NullPointerException- if any required attribute was not provided
-