Interface InventoryItemSchema.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InventoryItemSchema.Builder,InventoryItemSchema>,SdkBuilder<InventoryItemSchema.Builder,InventoryItemSchema>,SdkPojo
- Enclosing class:
- InventoryItemSchema
public static interface InventoryItemSchema.Builder extends SdkPojo, CopyableBuilder<InventoryItemSchema.Builder,InventoryItemSchema>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InventoryItemSchema.Builderattributes(Collection<InventoryItemAttribute> attributes)The schema attributes for inventory.InventoryItemSchema.Builderattributes(Consumer<InventoryItemAttribute.Builder>... attributes)The schema attributes for inventory.InventoryItemSchema.Builderattributes(InventoryItemAttribute... attributes)The schema attributes for inventory.InventoryItemSchema.BuilderdisplayName(String displayName)The alias name of the inventory type.InventoryItemSchema.BuildertypeName(String typeName)The name of the inventory type.InventoryItemSchema.Builderversion(String version)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
typeName
InventoryItemSchema.Builder typeName(String 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
InventoryItemSchema.Builder version(String 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
InventoryItemSchema.Builder attributes(Collection<InventoryItemAttribute> 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
InventoryItemSchema.Builder attributes(InventoryItemAttribute... 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
InventoryItemSchema.Builder attributes(Consumer<InventoryItemAttribute.Builder>... attributes)
The schema attributes for inventory. This contains data type and attribute name.
This is a convenience method that creates an instance of theInventoryItemAttribute.Builderavoiding the need to create one manually viaInventoryItemAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attributes(List.) - 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:
#attributes(java.util.Collection)
-
displayName
InventoryItemSchema.Builder displayName(String 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.
-
-