@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PackageVersionSummary extends Object implements Serializable, Cloneable, StructuredPojo
 Details about a package version, including its status, version, and revision. The 
 ListPackageVersions  operation returns a list of PackageVersionSummary objects.
 
| Constructor and Description | 
|---|
| PackageVersionSummary() | 
| Modifier and Type | Method and Description | 
|---|---|
| PackageVersionSummary | clone() | 
| boolean | equals(Object obj) | 
| String | getRevision()
 The revision associated with a package version. | 
| String | getStatus()
 A string that contains the status of the package version. | 
| String | getVersion()
 Information about a package version. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setRevision(String revision)
 The revision associated with a package version. | 
| void | setStatus(String status)
 A string that contains the status of the package version. | 
| void | setVersion(String version)
 Information about a package version. | 
| String | toString()Returns a string representation of this object. | 
| PackageVersionSummary | withRevision(String revision)
 The revision associated with a package version. | 
| PackageVersionSummary | withStatus(PackageVersionStatus status)
 A string that contains the status of the package version. | 
| PackageVersionSummary | withStatus(String status)
 A string that contains the status of the package version. | 
| PackageVersionSummary | withVersion(String version)
 Information about a package version. | 
public void setVersion(String version)
Information about a package version.
version - Information about a package version.public String getVersion()
Information about a package version.
public PackageVersionSummary withVersion(String version)
Information about a package version.
version - Information about a package version.public void setRevision(String revision)
The revision associated with a package version.
revision - The revision associated with a package version.public String getRevision()
The revision associated with a package version.
public PackageVersionSummary withRevision(String revision)
The revision associated with a package version.
revision - The revision associated with a package version.public void setStatus(String status)
A string that contains the status of the package version. It can be one of the following:
 Published
 
 Unfinished
 
 Unlisted
 
 Archived
 
 Disposed
 
status - A string that contains the status of the package version. It can be one of the following: 
        
        Published
        
        Unfinished
        
        Unlisted
        
        Archived
        
        Disposed
        
PackageVersionStatuspublic String getStatus()
A string that contains the status of the package version. It can be one of the following:
 Published
 
 Unfinished
 
 Unlisted
 
 Archived
 
 Disposed
 
         Published
         
         Unfinished
         
         Unlisted
         
         Archived
         
         Disposed
         
PackageVersionStatuspublic PackageVersionSummary withStatus(String status)
A string that contains the status of the package version. It can be one of the following:
 Published
 
 Unfinished
 
 Unlisted
 
 Archived
 
 Disposed
 
status - A string that contains the status of the package version. It can be one of the following: 
        
        Published
        
        Unfinished
        
        Unlisted
        
        Archived
        
        Disposed
        
PackageVersionStatuspublic PackageVersionSummary withStatus(PackageVersionStatus status)
A string that contains the status of the package version. It can be one of the following:
 Published
 
 Unfinished
 
 Unlisted
 
 Archived
 
 Disposed
 
status - A string that contains the status of the package version. It can be one of the following: 
        
        Published
        
        Unfinished
        
        Unlisted
        
        Archived
        
        Disposed
        
PackageVersionStatuspublic String toString()
toString in class ObjectObject.toString()public PackageVersionSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.