public static interface UpdatePublicKeyRequest.Builder extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<UpdatePublicKeyRequest.Builder,UpdatePublicKeyRequest>
Modifier and Type | Method and Description |
---|---|
UpdatePublicKeyRequest.Builder |
id(String id)
ID of the public key to be updated.
|
UpdatePublicKeyRequest.Builder |
ifMatch(String ifMatch)
The value of the
ETag header that you received when retrieving the public key to update. |
UpdatePublicKeyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdatePublicKeyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default UpdatePublicKeyRequest.Builder |
publicKeyConfig(Consumer<PublicKeyConfig.Builder> publicKeyConfig)
Request to update public key information.
|
UpdatePublicKeyRequest.Builder |
publicKeyConfig(PublicKeyConfig publicKeyConfig)
Request to update public key information.
|
build
overrideConfiguration
copy
applyMutation, build
UpdatePublicKeyRequest.Builder publicKeyConfig(PublicKeyConfig publicKeyConfig)
Request to update public key information.
publicKeyConfig
- Request to update public key information.default UpdatePublicKeyRequest.Builder publicKeyConfig(Consumer<PublicKeyConfig.Builder> publicKeyConfig)
Request to update public key information.
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)
UpdatePublicKeyRequest.Builder id(String id)
ID of the public key to be updated.
id
- ID of the public key to be updated.UpdatePublicKeyRequest.Builder ifMatch(String ifMatch)
The value of the ETag
header that you received when retrieving the public key to update. For
example: E2QWRUHAPOMQZL
.
ifMatch
- The value of the ETag
header that you received when retrieving the public key to update.
For example: E2QWRUHAPOMQZL
.UpdatePublicKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdatePublicKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.