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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TestFunctionRequest.BuildereventObject(SdkBytes eventObject)The event object to test the function with.TestFunctionRequest.BuilderifMatch(String ifMatch)The current version (ETagvalue) of the function that you are testing, which you can get usingDescribeFunction.TestFunctionRequest.Buildername(String name)The name of the function that you are testing.TestFunctionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)TestFunctionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)TestFunctionRequest.Builderstage(String stage)The stage of the function that you are testing, eitherDEVELOPMENTorLIVE.TestFunctionRequest.Builderstage(FunctionStage stage)The stage of the function that you are testing, eitherDEVELOPMENTorLIVE.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
build
-
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
-
-
-
-
Method Detail
-
name
TestFunctionRequest.Builder name(String 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
TestFunctionRequest.Builder ifMatch(String 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
TestFunctionRequest.Builder stage(String 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:
FunctionStage,FunctionStage
-
stage
TestFunctionRequest.Builder stage(FunctionStage 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:
FunctionStage,FunctionStage
-
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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
TestFunctionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-