public static interface PublicKey.Builder extends SdkPojo, CopyableBuilder<PublicKey.Builder,PublicKey>
Modifier and Type | Method and Description |
---|---|
PublicKey.Builder |
createdTime(Instant createdTime)
A time you added a public key to CloudFront.
|
PublicKey.Builder |
id(String id)
A unique ID assigned to a public key you've added to CloudFront.
|
default PublicKey.Builder |
publicKeyConfig(Consumer<PublicKeyConfig.Builder> publicKeyConfig)
A complex data type for a public key you add to CloudFront to use with features like field-level encryption.
|
PublicKey.Builder |
publicKeyConfig(PublicKeyConfig publicKeyConfig)
A complex data type for a public key you add to CloudFront to use with features like field-level encryption.
|
copy
applyMutation, build
PublicKey.Builder id(String id)
A unique ID assigned to a public key you've added to CloudFront.
id
- A unique ID assigned to a public key you've added to CloudFront.PublicKey.Builder createdTime(Instant createdTime)
A time you added a public key to CloudFront.
createdTime
- A time you added a public key to CloudFront.PublicKey.Builder publicKeyConfig(PublicKeyConfig publicKeyConfig)
A complex data type for a public key you add to CloudFront to use with features like field-level encryption.
publicKeyConfig
- A complex data type for a public key you add to CloudFront to use with features like field-level
encryption.default PublicKey.Builder publicKeyConfig(Consumer<PublicKeyConfig.Builder> publicKeyConfig)
A complex data type for a public key you add to CloudFront to use with features like field-level encryption.
This is a convenience that creates an instance of thePublicKeyConfig.Builder
avoiding the need to
create one manually via PublicKeyConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to publicKeyConfig(PublicKeyConfig)
.publicKeyConfig
- a consumer that will call methods on PublicKeyConfig.Builder
publicKeyConfig(PublicKeyConfig)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.