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 Details

    • 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 the FunctionSummary.Builder avoiding the need to create one manually via FunctionSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to functionSummary(FunctionSummary).

      Parameters:
      functionSummary - a consumer that will call methods on FunctionSummary.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.