Class CfnPartnershipProps.Builder
java.lang.Object
software.amazon.awscdk.services.b2bi.CfnPartnershipProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPartnershipProps>
- Enclosing interface:
CfnPartnershipProps
@Stability(Stable)
public static final class CfnPartnershipProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPartnershipProps>
A builder for
CfnPartnershipProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.capabilities(List<String> capabilities) Sets the value ofCfnPartnershipProps.getCapabilities()capabilityOptions(IResolvable capabilityOptions) Sets the value ofCfnPartnershipProps.getCapabilityOptions()capabilityOptions(CfnPartnership.CapabilityOptionsProperty capabilityOptions) Sets the value ofCfnPartnershipProps.getCapabilityOptions()Sets the value ofCfnPartnershipProps.getEmail()Sets the value ofCfnPartnershipProps.getName()Sets the value ofCfnPartnershipProps.getPhone()Sets the value ofCfnPartnershipProps.getProfileId()Sets the value ofCfnPartnershipProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
capabilities
Sets the value ofCfnPartnershipProps.getCapabilities()- Parameters:
capabilities- Returns one or more capabilities associated with this partnership. This parameter is required.- Returns:
this
-
email
Sets the value ofCfnPartnershipProps.getEmail()- Parameters:
email- Specifies the email address associated with this trading partner. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnPartnershipProps.getName()- Parameters:
name- Returns the name of the partnership. This parameter is required.- Returns:
this
-
profileId
Sets the value ofCfnPartnershipProps.getProfileId()- Parameters:
profileId- Returns the unique, system-generated identifier for the profile connected to this partnership. This parameter is required.- Returns:
this
-
capabilityOptions
@Stability(Stable) public CfnPartnershipProps.Builder capabilityOptions(IResolvable capabilityOptions) Sets the value ofCfnPartnershipProps.getCapabilityOptions()- Parameters:
capabilityOptions- Contains the details for an Outbound EDI capability.- Returns:
this
-
capabilityOptions
@Stability(Stable) public CfnPartnershipProps.Builder capabilityOptions(CfnPartnership.CapabilityOptionsProperty capabilityOptions) Sets the value ofCfnPartnershipProps.getCapabilityOptions()- Parameters:
capabilityOptions- Contains the details for an Outbound EDI capability.- Returns:
this
-
phone
Sets the value ofCfnPartnershipProps.getPhone()- Parameters:
phone- Specifies the phone number associated with the partnership.- Returns:
this
-
tags
Sets the value ofCfnPartnershipProps.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<CfnPartnershipProps>- Returns:
- a new instance of
CfnPartnershipProps - Throws:
NullPointerException- if any required attribute was not provided
-