@Stability(value=Experimental) public static final class PublicKeyProps.Builder extends Object implements software.amazon.jsii.Builder<PublicKeyProps>
PublicKeyProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PublicKeyProps |
build()
Builds the configured instance.
|
PublicKeyProps.Builder |
comment(String comment)
Sets the value of
PublicKeyProps.getComment() |
PublicKeyProps.Builder |
encodedKey(String encodedKey)
Sets the value of
PublicKeyProps.getEncodedKey() |
PublicKeyProps.Builder |
publicKeyName(String publicKeyName)
Sets the value of
PublicKeyProps.getPublicKeyName() |
@Stability(value=Experimental) public PublicKeyProps.Builder encodedKey(String encodedKey)
PublicKeyProps.getEncodedKey()
encodedKey
- The public key that you can use with signed URLs and signed cookies, or with field-level encryption. This parameter is required.
The encodedKey
parameter must include -----BEGIN PUBLIC KEY-----
and -----END PUBLIC KEY-----
lines.this
@Stability(value=Experimental) public PublicKeyProps.Builder comment(String comment)
PublicKeyProps.getComment()
comment
- A comment to describe the public key.this
@Stability(value=Experimental) public PublicKeyProps.Builder publicKeyName(String publicKeyName)
PublicKeyProps.getPublicKeyName()
publicKeyName
- A name to identify the public key.this
@Stability(value=Experimental) public PublicKeyProps build()
build
in interface software.amazon.jsii.Builder<PublicKeyProps>
PublicKeyProps
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.