@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() |
Date |
getCreatedAt()
The timestamp of when the package was created.
|
ErrorDetails |
getErrorDetails()
Additional information if the package is in an error state.
|
Date |
getLastUpdatedAt() |
String |
getPackageDescription()
User-specified description of the package.
|
String |
getPackageID()
Internal ID of the package.
|
String |
getPackageName()
User-specified name of the package.
|
String |
getPackageStatus()
Current state of the package.
|
String |
getPackageType()
Currently supports only TXT-DICTIONARY.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailablePackageVersion(String availablePackageVersion) |
void |
setCreatedAt(Date createdAt)
The timestamp of when the package was created.
|
void |
setErrorDetails(ErrorDetails errorDetails)
Additional information if the package is in an error state.
|
void |
setLastUpdatedAt(Date lastUpdatedAt) |
void |
setPackageDescription(String packageDescription)
User-specified description of the package.
|
void |
setPackageID(String packageID)
Internal ID of the package.
|
void |
setPackageName(String packageName)
User-specified name of the package.
|
void |
setPackageStatus(String packageStatus)
Current state of the package.
|
void |
setPackageType(String packageType)
Currently supports only TXT-DICTIONARY.
|
String |
toString()
Returns a string representation of this object.
|
PackageDetails |
withAvailablePackageVersion(String availablePackageVersion) |
PackageDetails |
withCreatedAt(Date createdAt)
The timestamp of when the package was created.
|
PackageDetails |
withErrorDetails(ErrorDetails errorDetails)
Additional information if the package is in an error state.
|
PackageDetails |
withLastUpdatedAt(Date lastUpdatedAt) |
PackageDetails |
withPackageDescription(String packageDescription)
User-specified description of the package.
|
PackageDetails |
withPackageID(String packageID)
Internal ID of the package.
|
PackageDetails |
withPackageName(String packageName)
User-specified name of the package.
|
PackageDetails |
withPackageStatus(PackageStatus packageStatus)
Current state of the package.
|
PackageDetails |
withPackageStatus(String packageStatus)
Current state of the package.
|
PackageDetails |
withPackageType(PackageType packageType)
Currently supports only TXT-DICTIONARY.
|
PackageDetails |
withPackageType(String packageType)
Currently supports only TXT-DICTIONARY.
|
public void setPackageID(String packageID)
Internal ID of the package.
packageID
- Internal ID of the package.public String getPackageID()
Internal ID of the package.
public PackageDetails withPackageID(String packageID)
Internal ID of the package.
packageID
- Internal ID 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)
Currently supports only TXT-DICTIONARY.
packageType
- Currently supports only TXT-DICTIONARY.PackageType
public String getPackageType()
Currently supports only TXT-DICTIONARY.
PackageType
public PackageDetails withPackageType(String packageType)
Currently supports only TXT-DICTIONARY.
packageType
- Currently supports only TXT-DICTIONARY.PackageType
public PackageDetails withPackageType(PackageType packageType)
Currently supports only TXT-DICTIONARY.
packageType
- Currently supports only TXT-DICTIONARY.PackageType
public 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 state of the package. Values are COPYING, COPY_FAILED, AVAILABLE, DELETING, and DELETE_FAILED.
packageStatus
- Current state of the package. Values are COPYING, COPY_FAILED, AVAILABLE, DELETING, and DELETE_FAILED.PackageStatus
public String getPackageStatus()
Current state of the package. Values are COPYING, COPY_FAILED, AVAILABLE, DELETING, and DELETE_FAILED.
PackageStatus
public PackageDetails withPackageStatus(String packageStatus)
Current state of the package. Values are COPYING, COPY_FAILED, AVAILABLE, DELETING, and DELETE_FAILED.
packageStatus
- Current state of the package. Values are COPYING, COPY_FAILED, AVAILABLE, DELETING, and DELETE_FAILED.PackageStatus
public PackageDetails withPackageStatus(PackageStatus packageStatus)
Current state of the package. Values are COPYING, COPY_FAILED, AVAILABLE, DELETING, and DELETE_FAILED.
packageStatus
- Current state of the package. Values are COPYING, COPY_FAILED, AVAILABLE, DELETING, and DELETE_FAILED.PackageStatus
public void setCreatedAt(Date createdAt)
The timestamp of when the package was created.
createdAt
- The timestamp of when the package was created.public Date getCreatedAt()
The timestamp of when the package was created.
public PackageDetails withCreatedAt(Date createdAt)
The timestamp of when the package was created.
createdAt
- The timestamp of when the package was created.public void setLastUpdatedAt(Date lastUpdatedAt)
lastUpdatedAt
- public Date getLastUpdatedAt()
public PackageDetails withLastUpdatedAt(Date lastUpdatedAt)
lastUpdatedAt
- public void setAvailablePackageVersion(String availablePackageVersion)
availablePackageVersion
- public String getAvailablePackageVersion()
public PackageDetails withAvailablePackageVersion(String availablePackageVersion)
availablePackageVersion
- 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 Object
Object.toString()
public PackageDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.