Interface CreateStarterMappingTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,B2BiRequest.Builder
,Buildable
,CopyableBuilder<CreateStarterMappingTemplateRequest.Builder,
,CreateStarterMappingTemplateRequest> SdkBuilder<CreateStarterMappingTemplateRequest.Builder,
,CreateStarterMappingTemplateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateStarterMappingTemplateRequest
-
Method Summary
Modifier and TypeMethodDescriptionmappingType
(String mappingType) Specify the format for the mapping template: either JSONATA or XSLT.mappingType
(MappingType mappingType) Specify the format for the mapping template: either JSONATA or XSLT.outputSampleLocation
(Consumer<S3Location.Builder> outputSampleLocation) Specify the location of the sample EDI file that is used to generate the mapping template.outputSampleLocation
(S3Location outputSampleLocation) Specify the location of the sample EDI file that is used to generate the mapping template.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.templateDetails
(Consumer<TemplateDetails.Builder> templateDetails) Describes the details needed for generating the template.templateDetails
(TemplateDetails templateDetails) Describes the details needed for generating the template.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
-
outputSampleLocation
Specify the location of the sample EDI file that is used to generate the mapping template.
- Parameters:
outputSampleLocation
- Specify the location of the sample EDI file that is used to generate the mapping template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSampleLocation
default CreateStarterMappingTemplateRequest.Builder outputSampleLocation(Consumer<S3Location.Builder> outputSampleLocation) Specify the location of the sample EDI file that is used to generate the mapping template.
This is a convenience method that creates an instance of theS3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputSampleLocation(S3Location)
.- Parameters:
outputSampleLocation
- a consumer that will call methods onS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mappingType
Specify the format for the mapping template: either JSONATA or XSLT.
- Parameters:
mappingType
- Specify the format for the mapping template: either JSONATA or XSLT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mappingType
Specify the format for the mapping template: either JSONATA or XSLT.
- Parameters:
mappingType
- Specify the format for the mapping template: either JSONATA or XSLT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
templateDetails
Describes the details needed for generating the template. Specify the X12 transaction set and version for which the template is used: currently, we only support X12.
- Parameters:
templateDetails
- Describes the details needed for generating the template. Specify the X12 transaction set and version for which the template is used: currently, we only support X12.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateDetails
default CreateStarterMappingTemplateRequest.Builder templateDetails(Consumer<TemplateDetails.Builder> templateDetails) Describes the details needed for generating the template. Specify the X12 transaction set and version for which the template is used: currently, we only support X12.
This is a convenience method that creates an instance of theTemplateDetails.Builder
avoiding the need to create one manually viaTemplateDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totemplateDetails(TemplateDetails)
.- Parameters:
templateDetails
- a consumer that will call methods onTemplateDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateStarterMappingTemplateRequest.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
CreateStarterMappingTemplateRequest.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.
-