Interface UpdatePublicKeyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudFrontRequest.Builder
,CopyableBuilder<UpdatePublicKeyRequest.Builder,
,UpdatePublicKeyRequest> SdkBuilder<UpdatePublicKeyRequest.Builder,
,UpdatePublicKeyRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdatePublicKeyRequest
public static interface UpdatePublicKeyRequest.Builder
extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<UpdatePublicKeyRequest.Builder,UpdatePublicKeyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the public key that you are updating.The value of theETag
header that you received when retrieving the public key to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdatePublicKeyRequest.Builder
publicKeyConfig
(Consumer<PublicKeyConfig.Builder> publicKeyConfig) A public key configuration.publicKeyConfig
(PublicKeyConfig publicKeyConfig) A public key configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
publicKeyConfig
A public key configuration.
- Parameters:
publicKeyConfig
- A public key configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKeyConfig
default UpdatePublicKeyRequest.Builder publicKeyConfig(Consumer<PublicKeyConfig.Builder> publicKeyConfig) A public key configuration.
This is a convenience method that creates an instance of thePublicKeyConfig.Builder
avoiding the need to create one manually viaPublicKeyConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topublicKeyConfig(PublicKeyConfig)
.- Parameters:
publicKeyConfig
- a consumer that will call methods onPublicKeyConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The identifier of the public key that you are updating.
- Parameters:
id
- The identifier of the public key that you are updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ifMatch
The value of the
ETag
header that you received when retrieving the public key to update. For example:E2QWRUHAPOMQZL
.- Parameters:
ifMatch
- The value of theETag
header that you received when retrieving the public key to update. For example:E2QWRUHAPOMQZL
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdatePublicKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdatePublicKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-