Interface TestFunctionRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CloudFrontRequest.Builder, CopyableBuilder<TestFunctionRequest.Builder,TestFunctionRequest>, SdkBuilder<TestFunctionRequest.Builder,TestFunctionRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
TestFunctionRequest

public static interface TestFunctionRequest.Builder extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<TestFunctionRequest.Builder,TestFunctionRequest>
  • Method Details

    • name

      The name of the function that you are testing.

      Parameters:
      name - The name of the function that you are testing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ifMatch

      The current version (ETag value) of the function that you are testing, which you can get using DescribeFunction.

      Parameters:
      ifMatch - The current version (ETag value) of the function that you are testing, which you can get using DescribeFunction.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stage

      The stage of the function that you are testing, either DEVELOPMENT or LIVE.

      Parameters:
      stage - The stage of the function that you are testing, either DEVELOPMENT or LIVE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stage

      The stage of the function that you are testing, either DEVELOPMENT or LIVE.

      Parameters:
      stage - The stage of the function that you are testing, either DEVELOPMENT or LIVE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • eventObject

      TestFunctionRequest.Builder eventObject(SdkBytes eventObject)

      The event object to test the function with. For more information about the structure of the event object, see Testing functions in the Amazon CloudFront Developer Guide.

      Parameters:
      eventObject - The event object to test the function with. For more information about the structure of the event object, see Testing functions in the Amazon CloudFront Developer Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      TestFunctionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.