public static interface GetPublicKeyResponse.Builder extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<GetPublicKeyResponse.Builder,GetPublicKeyResponse>
Modifier and Type | Method and Description |
---|---|
GetPublicKeyResponse.Builder |
eTag(String eTag)
The current version of the public key.
|
default GetPublicKeyResponse.Builder |
publicKey(Consumer<PublicKey.Builder> publicKey)
Return the public key.
|
GetPublicKeyResponse.Builder |
publicKey(PublicKey publicKey)
Return the public key.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetPublicKeyResponse.Builder publicKey(PublicKey publicKey)
Return the public key.
publicKey
- Return the public key.default GetPublicKeyResponse.Builder publicKey(Consumer<PublicKey.Builder> publicKey)
Return 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)
GetPublicKeyResponse.Builder eTag(String eTag)
The current version of the public key. For example: E2QWRUHAPOMQZL
.
eTag
- The current version of the public key. For example: E2QWRUHAPOMQZL
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.