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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PipelineObject.Builderfields(Collection<Field> fields)Key-value pairs that define the properties of the object.PipelineObject.Builderfields(Consumer<Field.Builder>... fields)Key-value pairs that define the properties of the object.PipelineObject.Builderfields(Field... fields)Key-value pairs that define the properties of the object.PipelineObject.Builderid(String id)The ID of the object.PipelineObject.Buildername(String name)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 Detail
-
id
PipelineObject.Builder id(String 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
PipelineObject.Builder name(String 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
PipelineObject.Builder fields(Collection<Field> 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
PipelineObject.Builder fields(Field... 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
PipelineObject.Builder fields(Consumer<Field.Builder>... fields)
Key-value pairs that define the properties of the object.
This is a convenience method that creates an instance of theField.Builderavoiding the need to create one manually viaField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fields(List.) - 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:
#fields(java.util.Collection)
-
-