@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) |
PackageVersionOrigin |
getOrigin()
A
PackageVersionOrigin object that contains information about how the package version was added to the
repository.
|
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 |
setOrigin(PackageVersionOrigin origin)
A
PackageVersionOrigin object that contains information about how the package version was added to the
repository.
|
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 |
withOrigin(PackageVersionOrigin origin)
A
PackageVersionOrigin object that contains information about how the package version was added to the
repository.
|
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:
status
- A string that contains the status of the package version. It can be one of the following:PackageVersionStatus
public String getStatus()
A string that contains the status of the package version. It can be one of the following:
PackageVersionStatus
public PackageVersionSummary withStatus(String status)
A string that contains the status of the package version. It can be one of the following:
status
- A string that contains the status of the package version. It can be one of the following:PackageVersionStatus
public PackageVersionSummary withStatus(PackageVersionStatus status)
A string that contains the status of the package version. It can be one of the following:
status
- A string that contains the status of the package version. It can be one of the following:PackageVersionStatus
public void setOrigin(PackageVersionOrigin origin)
A PackageVersionOrigin object that contains information about how the package version was added to the repository.
origin
- A
PackageVersionOrigin object that contains information about how the package version was added to the
repository.public PackageVersionOrigin getOrigin()
A PackageVersionOrigin object that contains information about how the package version was added to the repository.
public PackageVersionSummary withOrigin(PackageVersionOrigin origin)
A PackageVersionOrigin object that contains information about how the package version was added to the repository.
origin
- A
PackageVersionOrigin object that contains information about how the package version was added to the
repository.public String toString()
toString
in class Object
Object.toString()
public PackageVersionSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.