public static interface PipelineObject.Builder extends SdkPojo, CopyableBuilder<PipelineObject.Builder,PipelineObject>
Modifier and Type | Method and Description |
---|---|
PipelineObject.Builder |
fields(Collection<Field> fields)
Key-value pairs that define the properties of the object.
|
PipelineObject.Builder |
fields(Consumer<Field.Builder>... fields)
Key-value pairs that define the properties of the object.
|
PipelineObject.Builder |
fields(Field... fields)
Key-value pairs that define the properties of the object.
|
PipelineObject.Builder |
id(String id)
The ID of the object.
|
PipelineObject.Builder |
name(String name)
The name of the object.
|
copy
applyMutation, build
PipelineObject.Builder id(String id)
The ID of the object.
id
- The ID of the object.PipelineObject.Builder name(String name)
The name of the object.
name
- The name of the object.PipelineObject.Builder fields(Collection<Field> fields)
Key-value pairs that define the properties of the object.
fields
- Key-value pairs that define the properties of the object.PipelineObject.Builder fields(Field... fields)
Key-value pairs that define the properties of the object.
fields
- Key-value pairs that define the properties of the object.PipelineObject.Builder fields(Consumer<Field.Builder>... fields)
Key-value pairs that define the properties of the object.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #fields(List)
.fields
- a consumer that will call methods on List.Builder
#fields(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.