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 (ETag
value) 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, eitherDEVELOPMENT
orLIVE
.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 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 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
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:
-
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:
-
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 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-