Interface GetPublicKeyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<GetPublicKeyResponse.Builder,
,GetPublicKeyResponse> SdkBuilder<GetPublicKeyResponse.Builder,
,GetPublicKeyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetPublicKeyResponse
public static interface GetPublicKeyResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<GetPublicKeyResponse.Builder,GetPublicKeyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier for this version of the public key.default GetPublicKeyResponse.Builder
publicKey
(Consumer<PublicKey.Builder> publicKey) The public key.The public key.Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
publicKey
The public key.
- Parameters:
publicKey
- The public key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKey
The public key.
This is a convenience method that creates an instance of thePublicKey.Builder
avoiding the need to create one manually viaPublicKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topublicKey(PublicKey)
.- Parameters:
publicKey
- a consumer that will call methods onPublicKey.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.
- Parameters:
eTag
- The identifier for this version of the public key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-