Class CfnCapabilityProps.Builder
java.lang.Object
software.amazon.awscdk.services.b2bi.CfnCapabilityProps.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnCapabilityProps>
- Enclosing interface:
- CfnCapabilityProps
@Stability(Stable)
public static final class CfnCapabilityProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapabilityProps>
A builder for 
CfnCapabilityProps- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.configuration(IResolvable configuration) Sets the value ofCfnCapabilityProps.getConfiguration()configuration(CfnCapability.CapabilityConfigurationProperty configuration) Sets the value ofCfnCapabilityProps.getConfiguration()instructionsDocuments(List<? extends Object> instructionsDocuments) Sets the value ofCfnCapabilityProps.getInstructionsDocuments()instructionsDocuments(IResolvable instructionsDocuments) Sets the value ofCfnCapabilityProps.getInstructionsDocuments()Sets the value ofCfnCapabilityProps.getName()Sets the value ofCfnCapabilityProps.getTags()Sets the value ofCfnCapabilityProps.getType()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
configurationSets the value ofCfnCapabilityProps.getConfiguration()- Parameters:
- configuration- Specifies a structure that contains the details for a capability. This parameter is required.
- Returns:
- this
 
- 
configuration@Stability(Stable) public CfnCapabilityProps.Builder configuration(CfnCapability.CapabilityConfigurationProperty configuration) Sets the value ofCfnCapabilityProps.getConfiguration()- Parameters:
- configuration- Specifies a structure that contains the details for a capability. This parameter is required.
- Returns:
- this
 
- 
nameSets the value ofCfnCapabilityProps.getName()- Parameters:
- name- The display name of the capability. This parameter is required.
- Returns:
- this
 
- 
typeSets the value ofCfnCapabilityProps.getType()- Parameters:
- type- Returns the type of the capability. This parameter is required. Currently, only- ediis supported.
- Returns:
- this
 
- 
instructionsDocuments@Stability(Stable) public CfnCapabilityProps.Builder instructionsDocuments(IResolvable instructionsDocuments) Sets the value ofCfnCapabilityProps.getInstructionsDocuments()- Parameters:
- instructionsDocuments- Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location.
- Returns:
- this
 
- 
instructionsDocuments@Stability(Stable) public CfnCapabilityProps.Builder instructionsDocuments(List<? extends Object> instructionsDocuments) Sets the value ofCfnCapabilityProps.getInstructionsDocuments()- Parameters:
- instructionsDocuments- Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location.
- Returns:
- this
 
- 
tagsSets the value ofCfnCapabilityProps.getTags()- Parameters:
- tags- Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnCapabilityProps>
- Returns:
- a new instance of CfnCapabilityProps
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-