Interface ListFunctionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<ListFunctionsResponse.Builder,ListFunctionsResponse>,SdkBuilder<ListFunctionsResponse.Builder,ListFunctionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListFunctionsResponse
@Mutable @NotThreadSafe public static interface ListFunctionsResponse.Builder extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<ListFunctionsResponse.Builder,ListFunctionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListFunctionsResponse.BuilderfunctionList(Consumer<FunctionList.Builder> functionList)A list of CloudFront functions.ListFunctionsResponse.BuilderfunctionList(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
functionList
ListFunctionsResponse.Builder functionList(FunctionList 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
default ListFunctionsResponse.Builder functionList(Consumer<FunctionList.Builder> functionList)
A list of CloudFront functions.
This is a convenience method that creates an instance of theFunctionList.Builderavoiding the need to create one manually viaFunctionList.builder().When the
Consumercompletes,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:
functionList(FunctionList)
-
-