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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdatePublicKeyRequest.Builder
id(String id)
The identifier of the public key that you are updating.UpdatePublicKeyRequest.Builder
ifMatch(String ifMatch)
The value of theETag
header that you received when retrieving the public key to update.UpdatePublicKeyRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdatePublicKeyRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
default UpdatePublicKeyRequest.Builder
publicKeyConfig(Consumer<PublicKeyConfig.Builder> publicKeyConfig)
A public key configuration.UpdatePublicKeyRequest.Builder
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 Detail
-
publicKeyConfig
UpdatePublicKeyRequest.Builder publicKeyConfig(PublicKeyConfig 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:
publicKeyConfig(PublicKeyConfig)
-
id
UpdatePublicKeyRequest.Builder id(String 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
UpdatePublicKeyRequest.Builder ifMatch(String 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdatePublicKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-