@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about hardware assets.
Constructor and Description |
---|
AssetInfo() |
Modifier and Type | Method and Description |
---|---|
AssetInfo |
clone() |
boolean |
equals(Object obj) |
String |
getAssetId()
The ID of the asset.
|
AssetLocation |
getAssetLocation()
The position of an asset in a rack.
|
String |
getAssetType()
The type of the asset.
|
ComputeAttributes |
getComputeAttributes()
Information about compute hardware assets.
|
String |
getRackId()
The rack ID of the asset.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssetId(String assetId)
The ID of the asset.
|
void |
setAssetLocation(AssetLocation assetLocation)
The position of an asset in a rack.
|
void |
setAssetType(String assetType)
The type of the asset.
|
void |
setComputeAttributes(ComputeAttributes computeAttributes)
Information about compute hardware assets.
|
void |
setRackId(String rackId)
The rack ID of the asset.
|
String |
toString()
Returns a string representation of this object.
|
AssetInfo |
withAssetId(String assetId)
The ID of the asset.
|
AssetInfo |
withAssetLocation(AssetLocation assetLocation)
The position of an asset in a rack.
|
AssetInfo |
withAssetType(AssetType assetType)
The type of the asset.
|
AssetInfo |
withAssetType(String assetType)
The type of the asset.
|
AssetInfo |
withComputeAttributes(ComputeAttributes computeAttributes)
Information about compute hardware assets.
|
AssetInfo |
withRackId(String rackId)
The rack ID of the asset.
|
public void setAssetId(String assetId)
The ID of the asset.
assetId
- The ID of the asset.public String getAssetId()
The ID of the asset.
public AssetInfo withAssetId(String assetId)
The ID of the asset.
assetId
- The ID of the asset.public void setRackId(String rackId)
The rack ID of the asset.
rackId
- The rack ID of the asset.public String getRackId()
The rack ID of the asset.
public AssetInfo withRackId(String rackId)
The rack ID of the asset.
rackId
- The rack ID of the asset.public void setAssetType(String assetType)
The type of the asset.
assetType
- The type of the asset.AssetType
public String getAssetType()
The type of the asset.
AssetType
public AssetInfo withAssetType(String assetType)
The type of the asset.
assetType
- The type of the asset.AssetType
public AssetInfo withAssetType(AssetType assetType)
The type of the asset.
assetType
- The type of the asset.AssetType
public void setComputeAttributes(ComputeAttributes computeAttributes)
Information about compute hardware assets.
computeAttributes
- Information about compute hardware assets.public ComputeAttributes getComputeAttributes()
Information about compute hardware assets.
public AssetInfo withComputeAttributes(ComputeAttributes computeAttributes)
Information about compute hardware assets.
computeAttributes
- Information about compute hardware assets.public void setAssetLocation(AssetLocation assetLocation)
The position of an asset in a rack.
assetLocation
- The position of an asset in a rack.public AssetLocation getAssetLocation()
The position of an asset in a rack.
public AssetInfo withAssetLocation(AssetLocation assetLocation)
The position of an asset in a rack.
assetLocation
- The position of an asset in a rack.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.