@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PackageListItem extends Object implements Serializable, Cloneable, StructuredPojo
A package summary.
Constructor and Description |
---|
PackageListItem() |
Modifier and Type | Method and Description |
---|---|
PackageListItem |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
PackageListItem |
clearTagsEntries()
Removes all the entries added into Tags.
|
PackageListItem |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The package's ARN.
|
Date |
getCreatedTime()
When the package was created.
|
String |
getPackageId()
The package's ID.
|
String |
getPackageName()
The package's name.
|
Map<String,String> |
getTags()
The package's tags.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The package's ARN.
|
void |
setCreatedTime(Date createdTime)
When the package was created.
|
void |
setPackageId(String packageId)
The package's ID.
|
void |
setPackageName(String packageName)
The package's name.
|
void |
setTags(Map<String,String> tags)
The package's tags.
|
String |
toString()
Returns a string representation of this object.
|
PackageListItem |
withArn(String arn)
The package's ARN.
|
PackageListItem |
withCreatedTime(Date createdTime)
When the package was created.
|
PackageListItem |
withPackageId(String packageId)
The package's ID.
|
PackageListItem |
withPackageName(String packageName)
The package's name.
|
PackageListItem |
withTags(Map<String,String> tags)
The package's tags.
|
public void setArn(String arn)
The package's ARN.
arn
- The package's ARN.public String getArn()
The package's ARN.
public PackageListItem withArn(String arn)
The package's ARN.
arn
- The package's ARN.public void setCreatedTime(Date createdTime)
When the package was created.
createdTime
- When the package was created.public Date getCreatedTime()
When the package was created.
public PackageListItem withCreatedTime(Date createdTime)
When the package was created.
createdTime
- When the package was created.public void setPackageId(String packageId)
The package's ID.
packageId
- The package's ID.public String getPackageId()
The package's ID.
public PackageListItem withPackageId(String packageId)
The package's ID.
packageId
- The package's ID.public void setPackageName(String packageName)
The package's name.
packageName
- The package's name.public String getPackageName()
The package's name.
public PackageListItem withPackageName(String packageName)
The package's name.
packageName
- The package's name.public void setTags(Map<String,String> tags)
The package's tags.
tags
- The package's tags.public PackageListItem withTags(Map<String,String> tags)
The package's tags.
tags
- The package's tags.public PackageListItem addTagsEntry(String key, String value)
public PackageListItem clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public PackageListItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.