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 current version of the public key.
|
CreatePublicKeyResponse.Builder |
location(String location)
The fully qualified URI of the new public key resource just created.
|
default CreatePublicKeyResponse.Builder |
publicKey(Consumer<PublicKey.Builder> publicKey)
Returned when you add a public key.
|
CreatePublicKeyResponse.Builder |
publicKey(PublicKey publicKey)
Returned when you add a public key.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponsecopyapplyMutation, buildCreatePublicKeyResponse.Builder publicKey(PublicKey publicKey)
Returned when you add a public key.
publicKey - Returned when you add a public key.default CreatePublicKeyResponse.Builder publicKey(Consumer<PublicKey.Builder> publicKey)
Returned when you add a 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.BuilderpublicKey(PublicKey)CreatePublicKeyResponse.Builder location(String location)
The fully qualified URI of the new public key resource just created. For example:
https://cloudfront.amazonaws.com/2010-11-01/cloudfront-public-key/EDFDVBD632BHDS5.
location - The fully qualified URI of the new public key resource just created. For example:
https://cloudfront.amazonaws.com/2010-11-01/cloudfront-public-key/EDFDVBD632BHDS5.CreatePublicKeyResponse.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.