Class CfnPartnership.WrapOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.b2bi.CfnPartnership.WrapOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPartnership.WrapOptionsProperty>
- Enclosing interface:
CfnPartnership.WrapOptionsProperty
@Stability(Stable)
public static final class CfnPartnership.WrapOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPartnership.WrapOptionsProperty>
A builder for
CfnPartnership.WrapOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.lineLength(Number lineLength) Sets the value ofCfnPartnership.WrapOptionsProperty.getLineLength()lineTerminator(String lineTerminator) Sets the value ofCfnPartnership.WrapOptionsProperty.getLineTerminator()Sets the value ofCfnPartnership.WrapOptionsProperty.getWrapBy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lineLength
Sets the value ofCfnPartnership.WrapOptionsProperty.getLineLength()- Parameters:
lineLength- the value to be set.- Returns:
this
-
lineTerminator
@Stability(Stable) public CfnPartnership.WrapOptionsProperty.Builder lineTerminator(String lineTerminator) Sets the value ofCfnPartnership.WrapOptionsProperty.getLineTerminator()- Parameters:
lineTerminator- the value to be set.- Returns:
this
-
wrapBy
Sets the value ofCfnPartnership.WrapOptionsProperty.getWrapBy()- Parameters:
wrapBy- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPartnership.WrapOptionsProperty>- Returns:
- a new instance of
CfnPartnership.WrapOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-