Interface UpdatePublicKeyRequest.Builder
- All Superinterfaces:
 AwsRequest.Builder,Buildable,CloudFrontRequest.Builder,CopyableBuilder<UpdatePublicKeyRequest.Builder,,UpdatePublicKeyRequest> SdkBuilder<UpdatePublicKeyRequest.Builder,,UpdatePublicKeyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
 UpdatePublicKeyRequest
@Mutable
@NotThreadSafe
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 theETagheader 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.BuilderpublicKeyConfig(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaPublicKeyConfig.builder().When the
Consumercompletes,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
ETagheader that you received when retrieving the public key to update. For example:E2QWRUHAPOMQZL.- Parameters:
 ifMatch- The value of theETagheader 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.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
 - This object for method chaining.
 
 
 -