public static interface CreatePublicKeyResponse.Builder extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<CreatePublicKeyResponse.Builder,CreatePublicKeyResponse>
Modifier and Type | Method and Description |
---|---|
CreatePublicKeyResponse.Builder |
eTag(String eTag)
The identifier for this version of the public key.
|
CreatePublicKeyResponse.Builder |
location(String location)
The URL of the public key.
|
default CreatePublicKeyResponse.Builder |
publicKey(Consumer<PublicKey.Builder> publicKey)
The public key.
|
CreatePublicKeyResponse.Builder |
publicKey(PublicKey publicKey)
The public key.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreatePublicKeyResponse.Builder publicKey(PublicKey publicKey)
The public key.
publicKey
- The public key.default CreatePublicKeyResponse.Builder publicKey(Consumer<PublicKey.Builder> publicKey)
The public key.
This is a convenience that creates an instance of thePublicKey.Builder
avoiding the need to create
one manually via PublicKey.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to publicKey(PublicKey)
.publicKey
- a consumer that will call methods on PublicKey.Builder
publicKey(PublicKey)
CreatePublicKeyResponse.Builder location(String location)
The URL of the public key.
location
- The URL of the public key.CreatePublicKeyResponse.Builder eTag(String eTag)
The identifier for this version of the public key.
eTag
- The identifier for this version of the public key.Copyright © 2021. All rights reserved.