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 SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
publicKeyConfigA public key configuration. - Parameters:
- publicKeyConfig- A public key configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
publicKeyConfigdefault 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 on- PublicKeyConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
idThe 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.
 
- 
ifMatchThe value of the ETagheader that you received when retrieving the public key to update. For example:E2QWRUHAPOMQZL.- Parameters:
- ifMatch- The value of the- ETagheader 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.
 
- 
overrideConfigurationUpdatePublicKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdatePublicKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-