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.Builder
eventObject(SdkBytes eventObject)
The event object to test the function with.TestFunctionRequest.Builder
ifMatch(String ifMatch)
The current version (ETag
value) of the function that you are testing, which you can get usingDescribeFunction
.TestFunctionRequest.Builder
name(String name)
The name of the function that you are testing.TestFunctionRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
TestFunctionRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
TestFunctionRequest.Builder
stage(String stage)
The stage of the function that you are testing, eitherDEVELOPMENT
orLIVE
.TestFunctionRequest.Builder
stage(FunctionStage stage)
The stage of the function that you are testing, eitherDEVELOPMENT
orLIVE
.-
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 (
ETag
value) of the function that you are testing, which you can get usingDescribeFunction
.- Parameters:
ifMatch
- The current version (ETag
value) 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
DEVELOPMENT
orLIVE
.- Parameters:
stage
- The stage of the function that you are testing, eitherDEVELOPMENT
orLIVE
.- 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
DEVELOPMENT
orLIVE
.- Parameters:
stage
- The stage of the function that you are testing, eitherDEVELOPMENT
orLIVE
.- 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:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
TestFunctionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-