Class CfnCapabilityMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.b2bi.CfnCapabilityMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapabilityMixinProps>
- Enclosing interface:
CfnCapabilityMixinProps
@Stability(Stable)
public static final class CfnCapabilityMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapabilityMixinProps>
A builder for
CfnCapabilityMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCapabilityMixinProps.getConfiguration()configuration(IResolvable configuration) Sets the value ofCfnCapabilityMixinProps.getConfiguration()instructionsDocuments(List<? extends Object> instructionsDocuments) Sets the value ofCfnCapabilityMixinProps.getInstructionsDocuments()instructionsDocuments(IResolvable instructionsDocuments) Sets the value ofCfnCapabilityMixinProps.getInstructionsDocuments()Sets the value ofCfnCapabilityMixinProps.getName()Sets the value ofCfnCapabilityMixinProps.getTags()Sets the value ofCfnCapabilityMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configuration
Sets the value ofCfnCapabilityMixinProps.getConfiguration()- Parameters:
configuration- Specifies a structure that contains the details for a capability.- Returns:
this
-
configuration
@Stability(Stable) public CfnCapabilityMixinProps.Builder configuration(CfnCapabilityPropsMixin.CapabilityConfigurationProperty configuration) Sets the value ofCfnCapabilityMixinProps.getConfiguration()- Parameters:
configuration- Specifies a structure that contains the details for a capability.- Returns:
this
-
instructionsDocuments
@Stability(Stable) public CfnCapabilityMixinProps.Builder instructionsDocuments(IResolvable instructionsDocuments) Sets the value ofCfnCapabilityMixinProps.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 CfnCapabilityMixinProps.Builder instructionsDocuments(List<? extends Object> instructionsDocuments) Sets the value ofCfnCapabilityMixinProps.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
-
name
Sets the value ofCfnCapabilityMixinProps.getName()- Parameters:
name- The display name of the capability.- Returns:
this
-
tags
Sets the value ofCfnCapabilityMixinProps.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
-
type
Sets the value ofCfnCapabilityMixinProps.getType()- Parameters:
type- Returns the type of the capability. Currently, onlyediis supported.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCapabilityMixinProps>- Returns:
- a new instance of
CfnCapabilityMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-