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.Builderid(String id)The identifier of the public key that you are updating.UpdatePublicKeyRequest.BuilderifMatch(String ifMatch)The value of theETagheader that you received when retrieving the public key to update.UpdatePublicKeyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdatePublicKeyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdatePublicKeyRequest.BuilderpublicKeyConfig(Consumer<PublicKeyConfig.Builder> publicKeyConfig)A public key configuration.UpdatePublicKeyRequest.BuilderpublicKeyConfig(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, sdkFieldNameToField, 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.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:
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
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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdatePublicKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-