@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CatalogItem extends Object implements Serializable, Cloneable, StructuredPojo
Information about a catalog item.
Constructor and Description |
---|
CatalogItem() |
Modifier and Type | Method and Description |
---|---|
CatalogItem |
clone() |
boolean |
equals(Object obj) |
String |
getCatalogItemId()
The ID of the catalog item.
|
List<EC2Capacity> |
getEC2Capacities()
Information about the EC2 capacity of an item.
|
String |
getItemStatus()
The status of a catalog item.
|
Float |
getPowerKva()
Information about the power draw of an item.
|
List<String> |
getSupportedStorage()
The supported storage options for the catalog item.
|
List<Integer> |
getSupportedUplinkGbps()
The uplink speed this catalog item requires for the connection to the Region.
|
Integer |
getWeightLbs()
The weight of the item in pounds.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCatalogItemId(String catalogItemId)
The ID of the catalog item.
|
void |
setEC2Capacities(Collection<EC2Capacity> eC2Capacities)
Information about the EC2 capacity of an item.
|
void |
setItemStatus(String itemStatus)
The status of a catalog item.
|
void |
setPowerKva(Float powerKva)
Information about the power draw of an item.
|
void |
setSupportedStorage(Collection<String> supportedStorage)
The supported storage options for the catalog item.
|
void |
setSupportedUplinkGbps(Collection<Integer> supportedUplinkGbps)
The uplink speed this catalog item requires for the connection to the Region.
|
void |
setWeightLbs(Integer weightLbs)
The weight of the item in pounds.
|
String |
toString()
Returns a string representation of this object.
|
CatalogItem |
withCatalogItemId(String catalogItemId)
The ID of the catalog item.
|
CatalogItem |
withEC2Capacities(Collection<EC2Capacity> eC2Capacities)
Information about the EC2 capacity of an item.
|
CatalogItem |
withEC2Capacities(EC2Capacity... eC2Capacities)
Information about the EC2 capacity of an item.
|
CatalogItem |
withItemStatus(CatalogItemStatus itemStatus)
The status of a catalog item.
|
CatalogItem |
withItemStatus(String itemStatus)
The status of a catalog item.
|
CatalogItem |
withPowerKva(Float powerKva)
Information about the power draw of an item.
|
CatalogItem |
withSupportedStorage(Collection<String> supportedStorage)
The supported storage options for the catalog item.
|
CatalogItem |
withSupportedStorage(String... supportedStorage)
The supported storage options for the catalog item.
|
CatalogItem |
withSupportedStorage(SupportedStorageEnum... supportedStorage)
The supported storage options for the catalog item.
|
CatalogItem |
withSupportedUplinkGbps(Collection<Integer> supportedUplinkGbps)
The uplink speed this catalog item requires for the connection to the Region.
|
CatalogItem |
withSupportedUplinkGbps(Integer... supportedUplinkGbps)
The uplink speed this catalog item requires for the connection to the Region.
|
CatalogItem |
withWeightLbs(Integer weightLbs)
The weight of the item in pounds.
|
public void setCatalogItemId(String catalogItemId)
The ID of the catalog item.
catalogItemId
- The ID of the catalog item.public String getCatalogItemId()
The ID of the catalog item.
public CatalogItem withCatalogItemId(String catalogItemId)
The ID of the catalog item.
catalogItemId
- The ID of the catalog item.public void setItemStatus(String itemStatus)
The status of a catalog item.
itemStatus
- The status of a catalog item.CatalogItemStatus
public String getItemStatus()
The status of a catalog item.
CatalogItemStatus
public CatalogItem withItemStatus(String itemStatus)
The status of a catalog item.
itemStatus
- The status of a catalog item.CatalogItemStatus
public CatalogItem withItemStatus(CatalogItemStatus itemStatus)
The status of a catalog item.
itemStatus
- The status of a catalog item.CatalogItemStatus
public List<EC2Capacity> getEC2Capacities()
Information about the EC2 capacity of an item.
public void setEC2Capacities(Collection<EC2Capacity> eC2Capacities)
Information about the EC2 capacity of an item.
eC2Capacities
- Information about the EC2 capacity of an item.public CatalogItem withEC2Capacities(EC2Capacity... eC2Capacities)
Information about the EC2 capacity of an item.
NOTE: This method appends the values to the existing list (if any). Use
setEC2Capacities(java.util.Collection)
or withEC2Capacities(java.util.Collection)
if you want
to override the existing values.
eC2Capacities
- Information about the EC2 capacity of an item.public CatalogItem withEC2Capacities(Collection<EC2Capacity> eC2Capacities)
Information about the EC2 capacity of an item.
eC2Capacities
- Information about the EC2 capacity of an item.public void setPowerKva(Float powerKva)
Information about the power draw of an item.
powerKva
- Information about the power draw of an item.public Float getPowerKva()
Information about the power draw of an item.
public CatalogItem withPowerKva(Float powerKva)
Information about the power draw of an item.
powerKva
- Information about the power draw of an item.public void setWeightLbs(Integer weightLbs)
The weight of the item in pounds.
weightLbs
- The weight of the item in pounds.public Integer getWeightLbs()
The weight of the item in pounds.
public CatalogItem withWeightLbs(Integer weightLbs)
The weight of the item in pounds.
weightLbs
- The weight of the item in pounds.public List<Integer> getSupportedUplinkGbps()
The uplink speed this catalog item requires for the connection to the Region.
public void setSupportedUplinkGbps(Collection<Integer> supportedUplinkGbps)
The uplink speed this catalog item requires for the connection to the Region.
supportedUplinkGbps
- The uplink speed this catalog item requires for the connection to the Region.public CatalogItem withSupportedUplinkGbps(Integer... supportedUplinkGbps)
The uplink speed this catalog item requires for the connection to the Region.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedUplinkGbps(java.util.Collection)
or withSupportedUplinkGbps(java.util.Collection)
if you want to override the existing values.
supportedUplinkGbps
- The uplink speed this catalog item requires for the connection to the Region.public CatalogItem withSupportedUplinkGbps(Collection<Integer> supportedUplinkGbps)
The uplink speed this catalog item requires for the connection to the Region.
supportedUplinkGbps
- The uplink speed this catalog item requires for the connection to the Region.public List<String> getSupportedStorage()
The supported storage options for the catalog item.
SupportedStorageEnum
public void setSupportedStorage(Collection<String> supportedStorage)
The supported storage options for the catalog item.
supportedStorage
- The supported storage options for the catalog item.SupportedStorageEnum
public CatalogItem withSupportedStorage(String... supportedStorage)
The supported storage options for the catalog item.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedStorage(java.util.Collection)
or withSupportedStorage(java.util.Collection)
if you
want to override the existing values.
supportedStorage
- The supported storage options for the catalog item.SupportedStorageEnum
public CatalogItem withSupportedStorage(Collection<String> supportedStorage)
The supported storage options for the catalog item.
supportedStorage
- The supported storage options for the catalog item.SupportedStorageEnum
public CatalogItem withSupportedStorage(SupportedStorageEnum... supportedStorage)
The supported storage options for the catalog item.
supportedStorage
- The supported storage options for the catalog item.SupportedStorageEnum
public String toString()
toString
in class Object
Object.toString()
public CatalogItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.