@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about a package version asset.
| Constructor and Description | 
|---|
AssetSummary()  | 
| Modifier and Type | Method and Description | 
|---|---|
AssetSummary | 
addHashesEntry(String key,
              String value)
Add a single Hashes entry 
 | 
AssetSummary | 
clearHashesEntries()
Removes all the entries added into Hashes. 
 | 
AssetSummary | 
clone()  | 
boolean | 
equals(Object obj)  | 
Map<String,String> | 
getHashes()
 The hashes of the asset. 
 | 
String | 
getName()
 The name of the asset. 
 | 
Long | 
getSize()
 The size of the asset. 
 | 
int | 
hashCode()  | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setHashes(Map<String,String> hashes)
 The hashes of the asset. 
 | 
void | 
setName(String name)
 The name of the asset. 
 | 
void | 
setSize(Long size)
 The size of the asset. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
AssetSummary | 
withHashes(Map<String,String> hashes)
 The hashes of the asset. 
 | 
AssetSummary | 
withName(String name)
 The name of the asset. 
 | 
AssetSummary | 
withSize(Long size)
 The size of the asset. 
 | 
public void setName(String name)
The name of the asset.
name - The name of the asset.public String getName()
The name of the asset.
public AssetSummary withName(String name)
The name of the asset.
name - The name of the asset.public void setSize(Long size)
The size of the asset.
size - The size of the asset.public Long getSize()
The size of the asset.
public AssetSummary withSize(Long size)
The size of the asset.
size - The size of the asset.public Map<String,String> getHashes()
The hashes of the asset.
public void setHashes(Map<String,String> hashes)
The hashes of the asset.
hashes - The hashes of the asset.public AssetSummary withHashes(Map<String,String> hashes)
The hashes of the asset.
hashes - The hashes of the asset.public AssetSummary addHashesEntry(String key, String value)
public AssetSummary clearHashesEntries()
public String toString()
toString in class ObjectObject.toString()public AssetSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.