Modifier and Type | Method and Description |
---|---|
PublicKey |
build() |
PublicKey.Builder |
comment(java.lang.String comment)
A comment to describe the public key.
|
static PublicKey.Builder |
create(software.constructs.Construct scope,
java.lang.String id) |
PublicKey.Builder |
encodedKey(java.lang.String encodedKey)
The public key that you can use with signed URLs and signed cookies, or with field-level encryption.
|
PublicKey.Builder |
publicKeyName(java.lang.String publicKeyName)
A name to identify the public key.
|
public static PublicKey.Builder create(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.PublicKey.Builder
.public PublicKey.Builder encodedKey(java.lang.String encodedKey)
The encodedKey
parameter must include -----BEGIN PUBLIC KEY-----
and -----END PUBLIC KEY-----
lines.
encodedKey
- The public key that you can use with signed URLs and signed cookies, or with field-level encryption. This parameter is required.this
public PublicKey.Builder comment(java.lang.String comment)
Default: - no comment
comment
- A comment to describe the public key. This parameter is required.this
public PublicKey.Builder publicKeyName(java.lang.String publicKeyName)
Default: - generated from the `id`
publicKeyName
- A name to identify the public key. This parameter is required.this
public PublicKey build()