@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PackageDetails extends Object implements Serializable, Cloneable, StructuredPojo
Basic information about a package.
| Constructor and Description |
|---|
PackageDetails() |
| Modifier and Type | Method and Description |
|---|---|
PackageDetails |
clone() |
boolean |
equals(Object obj) |
String |
getAvailablePackageVersion()
The package version.
|
Date |
getCreatedAt()
The timestamp when the package was created.
|
ErrorDetails |
getErrorDetails()
Additional information if the package is in an error state.
|
Date |
getLastUpdatedAt()
Date and time when the package was last updated.
|
String |
getPackageDescription()
User-specified description of the package.
|
String |
getPackageID()
The unique identifier of the package.
|
String |
getPackageName()
User-specified name of the package.
|
String |
getPackageStatus()
Current status of the package.
|
String |
getPackageType()
The type of package.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAvailablePackageVersion(String availablePackageVersion)
The package version.
|
void |
setCreatedAt(Date createdAt)
The timestamp when the package was created.
|
void |
setErrorDetails(ErrorDetails errorDetails)
Additional information if the package is in an error state.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
Date and time when the package was last updated.
|
void |
setPackageDescription(String packageDescription)
User-specified description of the package.
|
void |
setPackageID(String packageID)
The unique identifier of the package.
|
void |
setPackageName(String packageName)
User-specified name of the package.
|
void |
setPackageStatus(String packageStatus)
Current status of the package.
|
void |
setPackageType(String packageType)
The type of package.
|
String |
toString()
Returns a string representation of this object.
|
PackageDetails |
withAvailablePackageVersion(String availablePackageVersion)
The package version.
|
PackageDetails |
withCreatedAt(Date createdAt)
The timestamp when the package was created.
|
PackageDetails |
withErrorDetails(ErrorDetails errorDetails)
Additional information if the package is in an error state.
|
PackageDetails |
withLastUpdatedAt(Date lastUpdatedAt)
Date and time when the package was last updated.
|
PackageDetails |
withPackageDescription(String packageDescription)
User-specified description of the package.
|
PackageDetails |
withPackageID(String packageID)
The unique identifier of the package.
|
PackageDetails |
withPackageName(String packageName)
User-specified name of the package.
|
PackageDetails |
withPackageStatus(PackageStatus packageStatus)
Current status of the package.
|
PackageDetails |
withPackageStatus(String packageStatus)
Current status of the package.
|
PackageDetails |
withPackageType(PackageType packageType)
The type of package.
|
PackageDetails |
withPackageType(String packageType)
The type of package.
|
public void setPackageID(String packageID)
The unique identifier of the package.
packageID - The unique identifier of the package.public String getPackageID()
The unique identifier of the package.
public PackageDetails withPackageID(String packageID)
The unique identifier of the package.
packageID - The unique identifier of the package.public void setPackageName(String packageName)
User-specified name of the package.
packageName - User-specified name of the package.public String getPackageName()
User-specified name of the package.
public PackageDetails withPackageName(String packageName)
User-specified name of the package.
packageName - User-specified name of the package.public void setPackageType(String packageType)
The type of package.
packageType - The type of package.PackageTypepublic String getPackageType()
The type of package.
PackageTypepublic PackageDetails withPackageType(String packageType)
The type of package.
packageType - The type of package.PackageTypepublic PackageDetails withPackageType(PackageType packageType)
The type of package.
packageType - The type of package.PackageTypepublic void setPackageDescription(String packageDescription)
User-specified description of the package.
packageDescription - User-specified description of the package.public String getPackageDescription()
User-specified description of the package.
public PackageDetails withPackageDescription(String packageDescription)
User-specified description of the package.
packageDescription - User-specified description of the package.public void setPackageStatus(String packageStatus)
Current status of the package.
packageStatus - Current status of the package.PackageStatuspublic String getPackageStatus()
Current status of the package.
PackageStatuspublic PackageDetails withPackageStatus(String packageStatus)
Current status of the package.
packageStatus - Current status of the package.PackageStatuspublic PackageDetails withPackageStatus(PackageStatus packageStatus)
Current status of the package.
packageStatus - Current status of the package.PackageStatuspublic void setCreatedAt(Date createdAt)
The timestamp when the package was created.
createdAt - The timestamp when the package was created.public Date getCreatedAt()
The timestamp when the package was created.
public PackageDetails withCreatedAt(Date createdAt)
The timestamp when the package was created.
createdAt - The timestamp when the package was created.public void setLastUpdatedAt(Date lastUpdatedAt)
Date and time when the package was last updated.
lastUpdatedAt - Date and time when the package was last updated.public Date getLastUpdatedAt()
Date and time when the package was last updated.
public PackageDetails withLastUpdatedAt(Date lastUpdatedAt)
Date and time when the package was last updated.
lastUpdatedAt - Date and time when the package was last updated.public void setAvailablePackageVersion(String availablePackageVersion)
The package version.
availablePackageVersion - The package version.public String getAvailablePackageVersion()
The package version.
public PackageDetails withAvailablePackageVersion(String availablePackageVersion)
The package version.
availablePackageVersion - The package version.public void setErrorDetails(ErrorDetails errorDetails)
Additional information if the package is in an error state. Null otherwise.
errorDetails - Additional information if the package is in an error state. Null otherwise.public ErrorDetails getErrorDetails()
Additional information if the package is in an error state. Null otherwise.
public PackageDetails withErrorDetails(ErrorDetails errorDetails)
Additional information if the package is in an error state. Null otherwise.
errorDetails - Additional information if the package is in an error state. Null otherwise.public String toString()
toString in class ObjectObject.toString()public PackageDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.