@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImagePackage extends Object implements Serializable, Cloneable, StructuredPojo
Represents a package installed on an Image Builder image.
Constructor and Description |
---|
ImagePackage() |
Modifier and Type | Method and Description |
---|---|
ImagePackage |
clone() |
boolean |
equals(Object obj) |
String |
getPackageName()
The name of the package as reported to the operating system package manager.
|
String |
getPackageVersion()
The version of the package as reported to the operating system package manager.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPackageName(String packageName)
The name of the package as reported to the operating system package manager.
|
void |
setPackageVersion(String packageVersion)
The version of the package as reported to the operating system package manager.
|
String |
toString()
Returns a string representation of this object.
|
ImagePackage |
withPackageName(String packageName)
The name of the package as reported to the operating system package manager.
|
ImagePackage |
withPackageVersion(String packageVersion)
The version of the package as reported to the operating system package manager.
|
public void setPackageName(String packageName)
The name of the package as reported to the operating system package manager.
packageName
- The name of the package as reported to the operating system package manager.public String getPackageName()
The name of the package as reported to the operating system package manager.
public ImagePackage withPackageName(String packageName)
The name of the package as reported to the operating system package manager.
packageName
- The name of the package as reported to the operating system package manager.public void setPackageVersion(String packageVersion)
The version of the package as reported to the operating system package manager.
packageVersion
- The version of the package as reported to the operating system package manager.public String getPackageVersion()
The version of the package as reported to the operating system package manager.
public ImagePackage withPackageVersion(String packageVersion)
The version of the package as reported to the operating system package manager.
packageVersion
- The version of the package as reported to the operating system package manager.public String toString()
toString
in class Object
Object.toString()
public ImagePackage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.