Interface TestConversionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,B2BiRequest.Builder,Buildable,CopyableBuilder<TestConversionRequest.Builder,,TestConversionRequest> SdkBuilder<TestConversionRequest.Builder,,TestConversionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
TestConversionRequest
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.Buildersource(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.Buildertarget(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.b2bi.model.B2BiRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaConversionSource.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaConversionTarget.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-