Class CfnPartnershipMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.b2bi.CfnPartnershipMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPartnershipMixinProps>
- Enclosing interface:
CfnPartnershipMixinProps
@Stability(Stable)
public static final class CfnPartnershipMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPartnershipMixinProps>
A builder for
CfnPartnershipMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.capabilities(List<String> capabilities) Sets the value ofCfnPartnershipMixinProps.getCapabilities()capabilityOptions(CfnPartnershipPropsMixin.CapabilityOptionsProperty capabilityOptions) Sets the value ofCfnPartnershipMixinProps.getCapabilityOptions()capabilityOptions(IResolvable capabilityOptions) Sets the value ofCfnPartnershipMixinProps.getCapabilityOptions()Sets the value ofCfnPartnershipMixinProps.getEmail()Sets the value ofCfnPartnershipMixinProps.getName()Sets the value ofCfnPartnershipMixinProps.getPhone()Sets the value ofCfnPartnershipMixinProps.getProfileId()Sets the value ofCfnPartnershipMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
capabilities
Sets the value ofCfnPartnershipMixinProps.getCapabilities()- Parameters:
capabilities- Returns one or more capabilities associated with this partnership.- Returns:
this
-
capabilityOptions
@Stability(Stable) public CfnPartnershipMixinProps.Builder capabilityOptions(IResolvable capabilityOptions) Sets the value ofCfnPartnershipMixinProps.getCapabilityOptions()- Parameters:
capabilityOptions- Contains the details for an Outbound EDI capability.- Returns:
this
-
capabilityOptions
@Stability(Stable) public CfnPartnershipMixinProps.Builder capabilityOptions(CfnPartnershipPropsMixin.CapabilityOptionsProperty capabilityOptions) Sets the value ofCfnPartnershipMixinProps.getCapabilityOptions()- Parameters:
capabilityOptions- Contains the details for an Outbound EDI capability.- Returns:
this
-
email
Sets the value ofCfnPartnershipMixinProps.getEmail()- Parameters:
email- Specifies the email address associated with this trading partner.- Returns:
this
-
name
Sets the value ofCfnPartnershipMixinProps.getName()- Parameters:
name- Returns the name of the partnership.- Returns:
this
-
phone
Sets the value ofCfnPartnershipMixinProps.getPhone()- Parameters:
phone- Specifies the phone number associated with the partnership.- Returns:
this
-
profileId
Sets the value ofCfnPartnershipMixinProps.getProfileId()- Parameters:
profileId- Returns the unique, system-generated identifier for the profile connected to this partnership.- Returns:
this
-
tags
Sets the value ofCfnPartnershipMixinProps.getTags()- Parameters:
tags- A key-value pair for a specific partnership. Tags are metadata that you can use to search for and group capabilities for various purposes.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPartnershipMixinProps>- Returns:
- a new instance of
CfnPartnershipMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-