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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.capabilities
(List<String> capabilities) Sets the value ofCfnPartnershipProps.getCapabilities()
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
-
email
Sets the value ofCfnPartnershipProps.getEmail()
- Parameters:
email
- the value to be set. 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
-
capabilities
Sets the value ofCfnPartnershipProps.getCapabilities()
- Parameters:
capabilities
- Returns one or more capabilities associated with this partnership.- Returns:
this
-
phone
Sets the value ofCfnPartnershipProps.getPhone()
- Parameters:
phone
- the value to be set.- 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnPartnershipProps>
- Returns:
- a new instance of
CfnPartnershipProps
- Throws:
NullPointerException
- if any required attribute was not provided
-