Interface CreateFunctionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<CreateFunctionResponse.Builder,CreateFunctionResponse>
,SdkBuilder<CreateFunctionResponse.Builder,CreateFunctionResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateFunctionResponse
public static interface CreateFunctionResponse.Builder extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<CreateFunctionResponse.Builder,CreateFunctionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateFunctionResponse.Builder
eTag(String eTag)
The version identifier for the current version of the CloudFront function.default CreateFunctionResponse.Builder
functionSummary(Consumer<FunctionSummary.Builder> functionSummary)
Contains configuration information and metadata about a CloudFront function.CreateFunctionResponse.Builder
functionSummary(FunctionSummary functionSummary)
Contains configuration information and metadata about a CloudFront function.CreateFunctionResponse.Builder
location(String location)
The URL of the CloudFront function.-
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 Detail
-
functionSummary
CreateFunctionResponse.Builder functionSummary(FunctionSummary 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.Builder
avoiding the need to create one manually viaFunctionSummary.builder()
.When the
Consumer
completes,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:
functionSummary(FunctionSummary)
-
location
CreateFunctionResponse.Builder location(String 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
CreateFunctionResponse.Builder eTag(String 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.
-
-