public static interface DeletableItem.Builder extends CopyableBuilder<DeletableItem.Builder,DeletableItem>
Modifier and Type | Method and Description |
---|---|
DeletableItem.Builder |
attributes(Attribute... attributes)
Sets the value of the Attributes property for this object.
|
DeletableItem.Builder |
attributes(Collection<Attribute> attributes)
Sets the value of the Attributes property for this object.
|
DeletableItem.Builder |
attributes(Consumer<Attribute.Builder>... attributes)
Sets the value of the Attributes property for this object.
|
DeletableItem.Builder |
name(String name)
Sets the value of the Name property for this object.
|
copy
applyMutation, build
DeletableItem.Builder name(String name)
name
- The new value for the Name property for this object.DeletableItem.Builder attributes(Collection<Attribute> attributes)
attributes
- The new value for the Attributes property for this object.DeletableItem.Builder attributes(Attribute... attributes)
attributes
- The new value for the Attributes property for this object.DeletableItem.Builder attributes(Consumer<Attribute.Builder>... attributes)
List.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 #attributes(List)
.attributes
- a consumer that will call methods on List.Builder
#attributes(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.