Interface InventoryItemSchema.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InventoryItemSchema.Builder,
,InventoryItemSchema> SdkBuilder<InventoryItemSchema.Builder,
,InventoryItemSchema> SdkPojo
- Enclosing class:
InventoryItemSchema
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Collection<InventoryItemAttribute> attributes) The schema attributes for inventory.attributes
(Consumer<InventoryItemAttribute.Builder>... attributes) The schema attributes for inventory.attributes
(InventoryItemAttribute... attributes) The schema attributes for inventory.displayName
(String displayName) The alias name of the inventory type.The name of the inventory type.The schema version for the inventory item.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 Details
-
typeName
The name of the inventory type. Default inventory item type names start with Amazon Web Services. Custom inventory type names will start with Custom. Default inventory item types include the following:
AWS:AWSComponent
,AWS:Application
,AWS:InstanceInformation
,AWS:Network
, andAWS:WindowsUpdate
.- Parameters:
typeName
- The name of the inventory type. Default inventory item type names start with Amazon Web Services. Custom inventory type names will start with Custom. Default inventory item types include the following:AWS:AWSComponent
,AWS:Application
,AWS:InstanceInformation
,AWS:Network
, andAWS:WindowsUpdate
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The schema version for the inventory item.
- Parameters:
version
- The schema version for the inventory item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The schema attributes for inventory. This contains data type and attribute name.
- Parameters:
attributes
- The schema attributes for inventory. This contains data type and attribute name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The schema attributes for inventory. This contains data type and attribute name.
- Parameters:
attributes
- The schema attributes for inventory. This contains data type and attribute name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The schema attributes for inventory. This contains data type and attribute name.
This is a convenience method that creates an instance of theInventoryItemAttribute.Builder
avoiding the need to create one manually viaInventoryItemAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<InventoryItemAttribute>)
.- Parameters:
attributes
- a consumer that will call methods onInventoryItemAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
displayName
The alias name of the inventory type. The alias name is used for display purposes.
- Parameters:
displayName
- The alias name of the inventory type. The alias name is used for display purposes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-