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 Summary
Modifier and TypeMethodDescriptioneventObject(SdkBytes eventObject) The event object to test the function with.The current version (ETagvalue) of the function that you are testing, which you can get usingDescribeFunction.The name of the function that you are testing.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The stage of the function that you are testing, eitherDEVELOPMENTorLIVE.stage(FunctionStage stage) The stage of the function that you are testing, eitherDEVELOPMENTorLIVE.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
buildMethods 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, sdkFields
-
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 (
ETagvalue) of the function that you are testing, which you can get usingDescribeFunction.- Parameters:
ifMatch- The current version (ETagvalue) of the function that you are testing, which you can get usingDescribeFunction.- 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
DEVELOPMENTorLIVE.- Parameters:
stage- The stage of the function that you are testing, eitherDEVELOPMENTorLIVE.- 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
DEVELOPMENTorLIVE.- Parameters:
stage- The stage of the function that you are testing, eitherDEVELOPMENTorLIVE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
TestFunctionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-