Interface ListPublicKeysResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<ListPublicKeysResponse.Builder,,ListPublicKeysResponse> SdkBuilder<ListPublicKeysResponse.Builder,,ListPublicKeysResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPublicKeysResponse
@Mutable
@NotThreadSafe
public static interface ListPublicKeysResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<ListPublicKeysResponse.Builder,ListPublicKeysResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListPublicKeysResponse.BuilderpublicKeyList(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, 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, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaPublicKeyList.builder().When the
Consumercompletes,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:
-