Class CfnPartnership.Builder
java.lang.Object
software.amazon.awscdk.services.b2bi.CfnPartnership.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPartnership>
- Enclosing class:
CfnPartnership
@Stability(Stable)
public static final class CfnPartnership.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPartnership>
A fluent builder for
CfnPartnership
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
capabilities
(List<String> capabilities) Returns one or more capabilities associated with this partnership.capabilityOptions
(IResolvable capabilityOptions) Contains the details for an Outbound EDI capability.capabilityOptions
(CfnPartnership.CapabilityOptionsProperty capabilityOptions) Contains the details for an Outbound EDI capability.static CfnPartnership.Builder
Specifies the email address associated with this trading partner.Returns the name of the partnership.Specifies the phone number associated with the partnership.Returns the unique, system-generated identifier for the profile connected to this partnership.A key-value pair for a specific partnership.
-
Method Details
-
create
@Stability(Stable) public static CfnPartnership.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnPartnership.Builder
.
-
capabilities
Returns one or more capabilities associated with this partnership.- Parameters:
capabilities
- Returns one or more capabilities associated with this partnership. This parameter is required.- Returns:
this
- See Also:
-
email
Specifies the email address associated with this trading partner.- Parameters:
email
- Specifies the email address associated with this trading partner. This parameter is required.- Returns:
this
- See Also:
-
name
Returns the name of the partnership.- Parameters:
name
- Returns the name of the partnership. This parameter is required.- Returns:
this
- See Also:
-
profileId
Returns the unique, system-generated identifier for the profile connected to this partnership.- Parameters:
profileId
- Returns the unique, system-generated identifier for the profile connected to this partnership. This parameter is required.- Returns:
this
- See Also:
-
capabilityOptions
Contains the details for an Outbound EDI capability.- Parameters:
capabilityOptions
- Contains the details for an Outbound EDI capability. This parameter is required.- Returns:
this
- See Also:
-
capabilityOptions
@Stability(Stable) public CfnPartnership.Builder capabilityOptions(CfnPartnership.CapabilityOptionsProperty capabilityOptions) Contains the details for an Outbound EDI capability.- Parameters:
capabilityOptions
- Contains the details for an Outbound EDI capability. This parameter is required.- Returns:
this
- See Also:
-
phone
Specifies the phone number associated with the partnership.- Parameters:
phone
- Specifies the phone number associated with the partnership. This parameter is required.- Returns:
this
- See Also:
-
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.
- Parameters:
tags
- A key-value pair for a specific partnership. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPartnership>
- Returns:
- a newly built instance of
CfnPartnership
.
-