public static interface ReplaceableItem.Builder extends CopyableBuilder<ReplaceableItem.Builder,ReplaceableItem>
| Modifier and Type | Method and Description |
|---|---|
ReplaceableItem.Builder |
attributes(Collection<ReplaceableAttribute> attributes)
The list of attributes for a replaceable item.
|
ReplaceableItem.Builder |
attributes(Consumer<ReplaceableAttribute.Builder>... attributes)
The list of attributes for a replaceable item.
|
ReplaceableItem.Builder |
attributes(ReplaceableAttribute... attributes)
The list of attributes for a replaceable item.
|
ReplaceableItem.Builder |
name(String name)
The name of the replaceable item.
|
copyapply, buildReplaceableItem.Builder name(String name)
name - The name of the replaceable item.ReplaceableItem.Builder attributes(Collection<ReplaceableAttribute> attributes)
attributes - The list of attributes for a replaceable item.ReplaceableItem.Builder attributes(ReplaceableAttribute... attributes)
attributes - The list of attributes for a replaceable item.ReplaceableItem.Builder attributes(Consumer<ReplaceableAttribute.Builder>... attributes)
List.Builder avoiding the need to create one manually via #builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #attributes(List) .attributes - a consumer that will call methods on List.Builder #attributes(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.