@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InventoryItemSchema extends Object implements Serializable, Cloneable, StructuredPojo
The inventory item schema definition. Users can use this to compose inventory query filters.
Constructor and Description |
---|
InventoryItemSchema() |
Modifier and Type | Method and Description |
---|---|
InventoryItemSchema |
clone() |
boolean |
equals(Object obj) |
List<InventoryItemAttribute> |
getAttributes()
The schema attributes for inventory.
|
String |
getDisplayName()
The alias name of the inventory type.
|
String |
getTypeName()
The name of the inventory type.
|
String |
getVersion()
The schema version for the inventory item.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Collection<InventoryItemAttribute> attributes)
The schema attributes for inventory.
|
void |
setDisplayName(String displayName)
The alias name of the inventory type.
|
void |
setTypeName(String typeName)
The name of the inventory type.
|
void |
setVersion(String version)
The schema version for the inventory item.
|
String |
toString()
Returns a string representation of this object.
|
InventoryItemSchema |
withAttributes(Collection<InventoryItemAttribute> attributes)
The schema attributes for inventory.
|
InventoryItemSchema |
withAttributes(InventoryItemAttribute... attributes)
The schema attributes for inventory.
|
InventoryItemSchema |
withDisplayName(String displayName)
The alias name of the inventory type.
|
InventoryItemSchema |
withTypeName(String typeName)
The name of the inventory type.
|
InventoryItemSchema |
withVersion(String version)
The schema version for the inventory item.
|
public void setTypeName(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
, and AWS:WindowsUpdate
.
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
, and AWS:WindowsUpdate
.public String getTypeName()
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
, and AWS:WindowsUpdate
.
AWS:AWSComponent
, AWS:Application
, AWS:InstanceInformation
,
AWS:Network
, and AWS:WindowsUpdate
.public InventoryItemSchema withTypeName(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
, and AWS:WindowsUpdate
.
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
, and AWS:WindowsUpdate
.public void setVersion(String version)
The schema version for the inventory item.
version
- The schema version for the inventory item.public String getVersion()
The schema version for the inventory item.
public InventoryItemSchema withVersion(String version)
The schema version for the inventory item.
version
- The schema version for the inventory item.public List<InventoryItemAttribute> getAttributes()
The schema attributes for inventory. This contains data type and attribute name.
public void setAttributes(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.public InventoryItemSchema withAttributes(InventoryItemAttribute... attributes)
The schema attributes for inventory. This contains data type and attribute name.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
or withAttributes(java.util.Collection)
if you want to
override the existing values.
attributes
- The schema attributes for inventory. This contains data type and attribute name.public InventoryItemSchema withAttributes(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.public void setDisplayName(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.public String getDisplayName()
The alias name of the inventory type. The alias name is used for display purposes.
public InventoryItemSchema withDisplayName(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.public String toString()
toString
in class Object
Object.toString()
public InventoryItemSchema clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.