Class CfnPublicKeyPropsMixin.PublicKeyConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnPublicKeyPropsMixin.PublicKeyConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPublicKeyPropsMixin.PublicKeyConfigProperty>
- Enclosing interface:
CfnPublicKeyPropsMixin.PublicKeyConfigProperty
@Stability(Stable)
public static final class CfnPublicKeyPropsMixin.PublicKeyConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPublicKeyPropsMixin.PublicKeyConfigProperty>
A builder for
CfnPublicKeyPropsMixin.PublicKeyConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.callerReference(String callerReference) Sets the value ofCfnPublicKeyPropsMixin.PublicKeyConfigProperty.getCallerReference()Sets the value ofCfnPublicKeyPropsMixin.PublicKeyConfigProperty.getComment()encodedKey(String encodedKey) Sets the value ofCfnPublicKeyPropsMixin.PublicKeyConfigProperty.getEncodedKey()Sets the value ofCfnPublicKeyPropsMixin.PublicKeyConfigProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
callerReference
@Stability(Stable) public CfnPublicKeyPropsMixin.PublicKeyConfigProperty.Builder callerReference(String callerReference) Sets the value ofCfnPublicKeyPropsMixin.PublicKeyConfigProperty.getCallerReference()- Parameters:
callerReference- A string included in the request to help make sure that the request can't be replayed.- Returns:
this
-
comment
@Stability(Stable) public CfnPublicKeyPropsMixin.PublicKeyConfigProperty.Builder comment(String comment) Sets the value ofCfnPublicKeyPropsMixin.PublicKeyConfigProperty.getComment()- Parameters:
comment- A comment to describe the public key. The comment cannot be longer than 128 characters.- Returns:
this
-
encodedKey
@Stability(Stable) public CfnPublicKeyPropsMixin.PublicKeyConfigProperty.Builder encodedKey(String encodedKey) Sets the value ofCfnPublicKeyPropsMixin.PublicKeyConfigProperty.getEncodedKey()- Parameters:
encodedKey- The public key that you can use with signed URLs and signed cookies , or with field-level encryption .- Returns:
this
-
name
Sets the value ofCfnPublicKeyPropsMixin.PublicKeyConfigProperty.getName()- Parameters:
name- A name to help identify the public key.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPublicKeyPropsMixin.PublicKeyConfigProperty>- Returns:
- a new instance of
CfnPublicKeyPropsMixin.PublicKeyConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-