Class PartnerAccountReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.iotwireless.PartnerAccountReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PartnerAccountReference>
- Enclosing interface:
PartnerAccountReference
@Stability(Stable)
public static final class PartnerAccountReference.Builder
extends Object
implements software.amazon.jsii.Builder<PartnerAccountReference>
A builder for
PartnerAccountReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.partnerAccountArn(String partnerAccountArn) Sets the value ofPartnerAccountReference.getPartnerAccountArn()partnerAccountId(String partnerAccountId) Sets the value ofPartnerAccountReference.getPartnerAccountId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
partnerAccountArn
@Stability(Stable) public PartnerAccountReference.Builder partnerAccountArn(String partnerAccountArn) Sets the value ofPartnerAccountReference.getPartnerAccountArn()- Parameters:
partnerAccountArn- The ARN of the PartnerAccount resource. This parameter is required.- Returns:
this
-
partnerAccountId
Sets the value ofPartnerAccountReference.getPartnerAccountId()- Parameters:
partnerAccountId- The PartnerAccountId of the PartnerAccount resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PartnerAccountReference>- Returns:
- a new instance of
PartnerAccountReference - Throws:
NullPointerException- if any required attribute was not provided
-