@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SuccessfulPackageVersionInfo extends Object implements Serializable, Cloneable, StructuredPojo
Contains the revision and status of a package version.
| Constructor and Description | 
|---|
| SuccessfulPackageVersionInfo() | 
| Modifier and Type | Method and Description | 
|---|---|
| SuccessfulPackageVersionInfo | clone() | 
| boolean | equals(Object obj) | 
| String | getRevision()
 The revision of a package version. | 
| String | getStatus()
 The status of a package version. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setRevision(String revision)
 The revision of a package version. | 
| void | setStatus(String status)
 The status of a package version. | 
| String | toString()Returns a string representation of this object. | 
| SuccessfulPackageVersionInfo | withRevision(String revision)
 The revision of a package version. | 
| SuccessfulPackageVersionInfo | withStatus(PackageVersionStatus status)
 The status of a package version. | 
| SuccessfulPackageVersionInfo | withStatus(String status)
 The status of a package version. | 
public void setRevision(String revision)
The revision of a package version.
revision - The revision of a package version.public String getRevision()
The revision of a package version.
public SuccessfulPackageVersionInfo withRevision(String revision)
The revision of a package version.
revision - The revision of a package version.public void setStatus(String status)
The status of a package version.
status - The status of a package version.PackageVersionStatuspublic String getStatus()
The status of a package version.
PackageVersionStatuspublic SuccessfulPackageVersionInfo withStatus(String status)
The status of a package version.
status - The status of a package version.PackageVersionStatuspublic SuccessfulPackageVersionInfo withStatus(PackageVersionStatus status)
The status of a package version.
status - The status of a package version.PackageVersionStatuspublic String toString()
toString in class ObjectObject.toString()public SuccessfulPackageVersionInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.