Interface TestFunctionRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CloudFrontRequest.Builder,- CopyableBuilder<TestFunctionRequest.Builder,,- TestFunctionRequest> - SdkBuilder<TestFunctionRequest.Builder,,- TestFunctionRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- TestFunctionRequest
@Mutable
@NotThreadSafe
public static interface TestFunctionRequest.Builder
extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<TestFunctionRequest.Builder,TestFunctionRequest> 
- 
Method SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameThe 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.
 
- 
ifMatchThe 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 using- DescribeFunction.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
stageThe stage of the function that you are testing, either DEVELOPMENTorLIVE.- Parameters:
- stage- The stage of the function that you are testing, either- DEVELOPMENTor- LIVE.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
stageThe stage of the function that you are testing, either DEVELOPMENTorLIVE.- Parameters:
- stage- The stage of the function that you are testing, either- DEVELOPMENTor- LIVE.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
eventObjectThe 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.
 
- 
overrideConfigurationTestFunctionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationTestFunctionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-