Interface GetPublicKeyConfigResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<GetPublicKeyConfigResponse.Builder,,GetPublicKeyConfigResponse> SdkBuilder<GetPublicKeyConfigResponse.Builder,,GetPublicKeyConfigResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetPublicKeyConfigResponse
public static interface GetPublicKeyConfigResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<GetPublicKeyConfigResponse.Builder,GetPublicKeyConfigResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier for this version of the public key configuration.publicKeyConfig(Consumer<PublicKeyConfig.Builder> publicKeyConfig) A public key configuration.publicKeyConfig(PublicKeyConfig publicKeyConfig) A public key configuration.Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 GetPublicKeyConfigResponse.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:
-
eTag
The identifier for this version of the public key configuration.
- Parameters:
eTag- The identifier for this version of the public key configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-