Interface ListPublicKeysResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<ListPublicKeysResponse.Builder,
,ListPublicKeysResponse> SdkBuilder<ListPublicKeysResponse.Builder,
,ListPublicKeysResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListPublicKeysResponse
public static interface ListPublicKeysResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<ListPublicKeysResponse.Builder,ListPublicKeysResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListPublicKeysResponse.Builder
publicKeyList
(Consumer<PublicKeyList.Builder> publicKeyList) Returns a list of all public keys that have been added to CloudFront for this account.publicKeyList
(PublicKeyList publicKeyList) Returns a list of all public keys that have been added to CloudFront for this account.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
-
publicKeyList
Returns a list of all public keys that have been added to CloudFront for this account.
- Parameters:
publicKeyList
- Returns a list of all public keys that have been added to CloudFront for this account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKeyList
Returns a list of all public keys that have been added to CloudFront for this account.
This is a convenience method that creates an instance of thePublicKeyList.Builder
avoiding the need to create one manually viaPublicKeyList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topublicKeyList(PublicKeyList)
.- Parameters:
publicKeyList
- a consumer that will call methods onPublicKeyList.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-