Interface TestConversionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,B2BiRequest.Builder
,Buildable
,CopyableBuilder<TestConversionRequest.Builder,
,TestConversionRequest> SdkBuilder<TestConversionRequest.Builder,
,TestConversionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
TestConversionRequest
@Mutable
@NotThreadSafe
public static interface TestConversionRequest.Builder
extends B2BiRequest.Builder, SdkPojo, CopyableBuilder<TestConversionRequest.Builder,TestConversionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default TestConversionRequest.Builder
source
(Consumer<ConversionSource.Builder> source) Specify the source file for an outbound EDI request.source
(ConversionSource source) Specify the source file for an outbound EDI request.default TestConversionRequest.Builder
target
(Consumer<ConversionTarget.Builder> target) Specify the format (X12 is the only currently supported format), and other details for the conversion target.target
(ConversionTarget target) Specify the format (X12 is the only currently supported format), and other details for the conversion target.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.b2bi.model.B2BiRequest.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, sdkFieldNameToField, sdkFields
-
Method Details
-
source
Specify the source file for an outbound EDI request.
- Parameters:
source
- Specify the source file for an outbound EDI request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Specify the source file for an outbound EDI request.
This is a convenience method that creates an instance of theConversionSource.Builder
avoiding the need to create one manually viaConversionSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(ConversionSource)
.- Parameters:
source
- a consumer that will call methods onConversionSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
target
Specify the format (X12 is the only currently supported format), and other details for the conversion target.
- Parameters:
target
- Specify the format (X12 is the only currently supported format), and other details for the conversion target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
Specify the format (X12 is the only currently supported format), and other details for the conversion target.
This is a convenience method that creates an instance of theConversionTarget.Builder
avoiding the need to create one manually viaConversionTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totarget(ConversionTarget)
.- Parameters:
target
- a consumer that will call methods onConversionTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
TestConversionRequest.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
TestConversionRequest.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.
-