Interface PipelineObject.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PipelineObject.Builder,
,PipelineObject> SdkBuilder<PipelineObject.Builder,
,PipelineObject> SdkPojo
- Enclosing class:
PipelineObject
public static interface PipelineObject.Builder
extends SdkPojo, CopyableBuilder<PipelineObject.Builder,PipelineObject>
-
Method Summary
Modifier and TypeMethodDescriptionfields
(Collection<Field> fields) Key-value pairs that define the properties of the object.fields
(Consumer<Field.Builder>... fields) Key-value pairs that define the properties of the object.Key-value pairs that define the properties of the object.The ID of the object.The name of the object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The ID of the object.
- Parameters:
id
- The ID of the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the object.
- Parameters:
name
- The name of the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
Key-value pairs that define the properties of the object.
- Parameters:
fields
- Key-value pairs that define the properties of the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
Key-value pairs that define the properties of the object.
- Parameters:
fields
- Key-value pairs that define the properties of the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
Key-value pairs that define the properties of the object.
This is a convenience method that creates an instance of theField.Builder
avoiding the need to create one manually viaField.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofields(List<Field>)
.- Parameters:
fields
- a consumer that will call methods onField.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-