Class CfnPipeline.PipelineObjectProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datapipeline.CfnPipeline.PipelineObjectProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.PipelineObjectProperty>
- Enclosing interface:
CfnPipeline.PipelineObjectProperty
@Stability(Stable)
public static final class CfnPipeline.PipelineObjectProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.PipelineObjectProperty>
A builder for
CfnPipeline.PipelineObjectProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPipeline.PipelineObjectProperty.getFields()fields(IResolvable fields) Sets the value ofCfnPipeline.PipelineObjectProperty.getFields()Sets the value ofCfnPipeline.PipelineObjectProperty.getId()Sets the value ofCfnPipeline.PipelineObjectProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fields
Sets the value ofCfnPipeline.PipelineObjectProperty.getFields()- Parameters:
fields- Key-value pairs that define the properties of the object. This parameter is required.- Returns:
this
-
fields
@Stability(Stable) public CfnPipeline.PipelineObjectProperty.Builder fields(List<? extends Object> fields) Sets the value ofCfnPipeline.PipelineObjectProperty.getFields()- Parameters:
fields- Key-value pairs that define the properties of the object. This parameter is required.- Returns:
this
-
id
Sets the value ofCfnPipeline.PipelineObjectProperty.getId()- Parameters:
id- The ID of the object. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnPipeline.PipelineObjectProperty.getName()- Parameters:
name- The name of the object. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipeline.PipelineObjectProperty>- Returns:
- a new instance of
CfnPipeline.PipelineObjectProperty - Throws:
NullPointerException- if any required attribute was not provided
-