public static interface InventoryItemSchema.Builder extends CopyableBuilder<InventoryItemSchema.Builder,InventoryItemSchema>
Modifier and Type | Method and Description |
---|---|
InventoryItemSchema.Builder |
attributes(Collection<InventoryItemAttribute> attributes)
The schema attributes for inventory.
|
InventoryItemSchema.Builder |
attributes(Consumer<InventoryItemAttribute.Builder>... attributes)
The schema attributes for inventory.
|
InventoryItemSchema.Builder |
attributes(InventoryItemAttribute... attributes)
The schema attributes for inventory.
|
InventoryItemSchema.Builder |
displayName(String displayName)
The alias name of the inventory type.
|
InventoryItemSchema.Builder |
typeName(String typeName)
The name of the inventory type.
|
InventoryItemSchema.Builder |
version(String version)
The schema version for the inventory item.
|
copy
applyMutation, build
InventoryItemSchema.Builder typeName(String typeName)
The name of the inventory type. Default inventory item type names start with AWS. Custom inventory type names will start with Custom. Default inventory item types include the following: AWS:AWSComponent, AWS:Application, AWS:InstanceInformation, AWS:Network, and AWS:WindowsUpdate.
typeName
- The name of the inventory type. Default inventory item type names start with AWS. Custom inventory
type names will start with Custom. Default inventory item types include the following:
AWS:AWSComponent, AWS:Application, AWS:InstanceInformation, AWS:Network, and AWS:WindowsUpdate.InventoryItemSchema.Builder version(String version)
The schema version for the inventory item.
version
- The schema version for the inventory item.InventoryItemSchema.Builder attributes(Collection<InventoryItemAttribute> attributes)
The schema attributes for inventory. This contains data type and attribute name.
attributes
- The schema attributes for inventory. This contains data type and attribute name.InventoryItemSchema.Builder attributes(InventoryItemAttribute... attributes)
The schema attributes for inventory. This contains data type and attribute name.
attributes
- The schema attributes for inventory. This contains data type and attribute name.InventoryItemSchema.Builder attributes(Consumer<InventoryItemAttribute.Builder>... attributes)
The schema attributes for inventory. This contains data type and attribute name.
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 #attributes(List)
.attributes
- a consumer that will call methods on List.Builder
#attributes(List)
InventoryItemSchema.Builder displayName(String displayName)
The alias name of the inventory type. The alias name is used for display purposes.
displayName
- The alias name of the inventory type. The alias name is used for display purposes.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.