@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LineItemAssetInformation extends Object implements Serializable, Cloneable, StructuredPojo
Information about a line item asset.
Constructor and Description |
---|
LineItemAssetInformation() |
Modifier and Type | Method and Description |
---|---|
LineItemAssetInformation |
clone() |
boolean |
equals(Object obj) |
String |
getAssetId()
The ID of the asset.
|
List<String> |
getMacAddressList()
The MAC addresses 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 |
setMacAddressList(Collection<String> macAddressList)
The MAC addresses of the asset.
|
String |
toString()
Returns a string representation of this object.
|
LineItemAssetInformation |
withAssetId(String assetId)
The ID of the asset.
|
LineItemAssetInformation |
withMacAddressList(Collection<String> macAddressList)
The MAC addresses of the asset.
|
LineItemAssetInformation |
withMacAddressList(String... macAddressList)
The MAC addresses 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 LineItemAssetInformation withAssetId(String assetId)
The ID of the asset.
assetId
- The ID of the asset.public List<String> getMacAddressList()
The MAC addresses of the asset.
public void setMacAddressList(Collection<String> macAddressList)
The MAC addresses of the asset.
macAddressList
- The MAC addresses of the asset.public LineItemAssetInformation withMacAddressList(String... macAddressList)
The MAC addresses of the asset.
NOTE: This method appends the values to the existing list (if any). Use
setMacAddressList(java.util.Collection)
or withMacAddressList(java.util.Collection)
if you want
to override the existing values.
macAddressList
- The MAC addresses of the asset.public LineItemAssetInformation withMacAddressList(Collection<String> macAddressList)
The MAC addresses of the asset.
macAddressList
- The MAC addresses of the asset.public String toString()
toString
in class Object
Object.toString()
public LineItemAssetInformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.