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