Interface CreateFunctionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<CreateFunctionResponse.Builder,,CreateFunctionResponse> SdkBuilder<CreateFunctionResponse.Builder,,CreateFunctionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateFunctionResponse
@Mutable
@NotThreadSafe
public static interface CreateFunctionResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<CreateFunctionResponse.Builder,CreateFunctionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe version identifier for the current version of the CloudFront function.default CreateFunctionResponse.BuilderfunctionSummary(Consumer<FunctionSummary.Builder> functionSummary) Contains configuration information and metadata about a CloudFront function.functionSummary(FunctionSummary functionSummary) Contains configuration information and metadata about a CloudFront function.The URL of the CloudFront function.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
-
functionSummary
Contains configuration information and metadata about a CloudFront function.
- Parameters:
functionSummary- Contains configuration information and metadata about a CloudFront function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionSummary
default CreateFunctionResponse.Builder functionSummary(Consumer<FunctionSummary.Builder> functionSummary) Contains configuration information and metadata about a CloudFront function.
This is a convenience method that creates an instance of theFunctionSummary.Builderavoiding the need to create one manually viaFunctionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofunctionSummary(FunctionSummary).- Parameters:
functionSummary- a consumer that will call methods onFunctionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
location
The URL of the CloudFront function. Use the URL to manage the function with the CloudFront API.
- Parameters:
location- The URL of the CloudFront function. Use the URL to manage the function with the CloudFront API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eTag
The version identifier for the current version of the CloudFront function.
- Parameters:
eTag- The version identifier for the current version of the CloudFront function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-