Class CfnCapability.X12DetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.b2bi.CfnCapability.X12DetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapability.X12DetailsProperty>
- Enclosing interface:
CfnCapability.X12DetailsProperty
@Stability(Stable)
public static final class CfnCapability.X12DetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapability.X12DetailsProperty>
A builder for
CfnCapability.X12DetailsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.transactionSet
(String transactionSet) Sets the value ofCfnCapability.X12DetailsProperty.getTransactionSet()
Sets the value ofCfnCapability.X12DetailsProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
transactionSet
@Stability(Stable) public CfnCapability.X12DetailsProperty.Builder transactionSet(String transactionSet) Sets the value ofCfnCapability.X12DetailsProperty.getTransactionSet()
- Parameters:
transactionSet
- Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are maintained by the X12 Accredited Standards Committee.- Returns:
this
-
version
Sets the value ofCfnCapability.X12DetailsProperty.getVersion()
- Parameters:
version
- Returns the version to use for the specified X12 transaction set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCapability.X12DetailsProperty>
- Returns:
- a new instance of
CfnCapability.X12DetailsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-