public static final class PublicKeyProps.Builder
extends java.lang.Object
PublicKeyProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PublicKeyProps |
build()
Builds the configured instance.
|
PublicKeyProps.Builder |
comment(java.lang.String comment)
Sets the value of
PublicKeyProps.getComment() |
PublicKeyProps.Builder |
encodedKey(java.lang.String encodedKey)
Sets the value of
PublicKeyProps.getEncodedKey() |
PublicKeyProps.Builder |
publicKeyName(java.lang.String publicKeyName)
Sets the value of
PublicKeyProps.getPublicKeyName() |
public PublicKeyProps.Builder encodedKey(java.lang.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
public PublicKeyProps.Builder comment(java.lang.String comment)
PublicKeyProps.getComment()
comment
- A comment to describe the public key.this
public PublicKeyProps.Builder publicKeyName(java.lang.String publicKeyName)
PublicKeyProps.getPublicKeyName()
publicKeyName
- A name to identify the public key.this
public PublicKeyProps build()
PublicKeyProps
java.lang.NullPointerException
- if any required attribute was not provided