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.static CfnPartnership.Builder
Returns the name of 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
.
-
email
- Parameters:
email
- 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:
-
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:
-
phone
- Parameters:
phone
- 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
.
-