Class CfnPipeline.AddAttributesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnPipeline.AddAttributesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.AddAttributesProperty>
- Enclosing interface:
- CfnPipeline.AddAttributesProperty
@Stability(Stable)
public static final class CfnPipeline.AddAttributesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.AddAttributesProperty>
A builder for
CfnPipeline.AddAttributesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(Map<String, String> attributes) Sets the value ofCfnPipeline.AddAttributesProperty.getAttributes()attributes(IResolvable attributes) Sets the value ofCfnPipeline.AddAttributesProperty.getAttributes()build()Builds the configured instance.Sets the value ofCfnPipeline.AddAttributesProperty.getName()Sets the value ofCfnPipeline.AddAttributesProperty.getNext()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributes
@Stability(Stable) public CfnPipeline.AddAttributesProperty.Builder attributes(IResolvable attributes) Sets the value ofCfnPipeline.AddAttributesProperty.getAttributes()- Parameters:
attributes- A list of 1-50 "AttributeNameMapping" objects that map an existing attribute to a new attribute. This parameter is required.The existing attributes remain in the message, so if you want to remove the originals, use "RemoveAttributeActivity".
- Returns:
this
-
attributes
@Stability(Stable) public CfnPipeline.AddAttributesProperty.Builder attributes(Map<String, String> attributes) Sets the value ofCfnPipeline.AddAttributesProperty.getAttributes()- Parameters:
attributes- A list of 1-50 "AttributeNameMapping" objects that map an existing attribute to a new attribute. This parameter is required.The existing attributes remain in the message, so if you want to remove the originals, use "RemoveAttributeActivity".
- Returns:
this
-
name
Sets the value ofCfnPipeline.AddAttributesProperty.getName()- Parameters:
name- The name of the 'addAttributes' activity. This parameter is required.- Returns:
this
-
next
Sets the value ofCfnPipeline.AddAttributesProperty.getNext()- Parameters:
next- The next activity in the pipeline.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipeline.AddAttributesProperty>- Returns:
- a new instance of
CfnPipeline.AddAttributesProperty - Throws:
NullPointerException- if any required attribute was not provided
-