Interface ListFunctionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<ListFunctionsResponse.Builder,
,ListFunctionsResponse> SdkBuilder<ListFunctionsResponse.Builder,
,ListFunctionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListFunctionsResponse
public static interface ListFunctionsResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<ListFunctionsResponse.Builder,ListFunctionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListFunctionsResponse.Builder
functionList
(Consumer<FunctionList.Builder> functionList) A list of CloudFront functions.functionList
(FunctionList functionList) A list of CloudFront functions.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
-
functionList
A list of CloudFront functions.
- Parameters:
functionList
- A list of CloudFront functions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionList
A list of CloudFront functions.
This is a convenience method that creates an instance of theFunctionList.Builder
avoiding the need to create one manually viaFunctionList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofunctionList(FunctionList)
.- Parameters:
functionList
- a consumer that will call methods onFunctionList.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-