Class PartnershipReference.Builder
java.lang.Object
software.amazon.awscdk.services.b2bi.PartnershipReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PartnershipReference>
- Enclosing interface:
PartnershipReference
@Stability(Stable)
public static final class PartnershipReference.Builder
extends Object
implements software.amazon.jsii.Builder<PartnershipReference>
A builder for
PartnershipReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.partnershipArn
(String partnershipArn) Sets the value ofPartnershipReference.getPartnershipArn()
partnershipId
(String partnershipId) Sets the value ofPartnershipReference.getPartnershipId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
partnershipArn
Sets the value ofPartnershipReference.getPartnershipArn()
- Parameters:
partnershipArn
- The ARN of the Partnership resource. This parameter is required.- Returns:
this
-
partnershipId
Sets the value ofPartnershipReference.getPartnershipId()
- Parameters:
partnershipId
- The PartnershipId of the Partnership resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PartnershipReference>
- Returns:
- a new instance of
PartnershipReference
- Throws:
NullPointerException
- if any required attribute was not provided
-