@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.
|
PluginProperties |
getAvailablePluginProperties()
If the package is a
ZIP-PLUGIN package, additional information about plugin properties. |
Date |
getCreatedAt()
The timestamp when the package was created.
|
String |
getEngineVersion()
Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y.
|
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()
The user-specified name of the package.
|
String |
getPackageStatus()
The current status of the package.
|
String |
getPackageType()
The type of package.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailablePackageVersion(String availablePackageVersion)
The package version.
|
void |
setAvailablePluginProperties(PluginProperties availablePluginProperties)
If the package is a
ZIP-PLUGIN package, additional information about plugin properties. |
void |
setCreatedAt(Date createdAt)
The timestamp when the package was created.
|
void |
setEngineVersion(String engineVersion)
Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y.
|
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)
The user-specified name of the package.
|
void |
setPackageStatus(String packageStatus)
The 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 |
withAvailablePluginProperties(PluginProperties availablePluginProperties)
If the package is a
ZIP-PLUGIN package, additional information about plugin properties. |
PackageDetails |
withCreatedAt(Date createdAt)
The timestamp when the package was created.
|
PackageDetails |
withEngineVersion(String engineVersion)
Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y.
|
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)
The user-specified name of the package.
|
PackageDetails |
withPackageStatus(PackageStatus packageStatus)
The current status of the package.
|
PackageDetails |
withPackageStatus(String packageStatus)
The 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)
The user-specified name of the package.
packageName
- The user-specified name of the package.public String getPackageName()
The user-specified name of the package.
public PackageDetails withPackageName(String packageName)
The user-specified name of the package.
packageName
- The user-specified name of the package.public void setPackageType(String packageType)
The type of package.
packageType
- The type of package.PackageType
public String getPackageType()
The type of package.
PackageType
public PackageDetails withPackageType(String packageType)
The type of package.
packageType
- The type of package.PackageType
public PackageDetails withPackageType(PackageType packageType)
The type of package.
packageType
- The type of package.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)
The current status of the package. The available options are AVAILABLE
, COPYING
,
COPY_FAILED
, VALIDATNG
, VALIDATION_FAILED
, DELETING
, and
DELETE_FAILED
.
packageStatus
- The current status of the package. The available options are AVAILABLE
, COPYING
,
COPY_FAILED
, VALIDATNG
, VALIDATION_FAILED
, DELETING
,
and DELETE_FAILED
.PackageStatus
public String getPackageStatus()
The current status of the package. The available options are AVAILABLE
, COPYING
,
COPY_FAILED
, VALIDATNG
, VALIDATION_FAILED
, DELETING
, and
DELETE_FAILED
.
AVAILABLE
, COPYING
, COPY_FAILED
, VALIDATNG
, VALIDATION_FAILED
, DELETING
, and DELETE_FAILED
.PackageStatus
public PackageDetails withPackageStatus(String packageStatus)
The current status of the package. The available options are AVAILABLE
, COPYING
,
COPY_FAILED
, VALIDATNG
, VALIDATION_FAILED
, DELETING
, and
DELETE_FAILED
.
packageStatus
- The current status of the package. The available options are AVAILABLE
, COPYING
,
COPY_FAILED
, VALIDATNG
, VALIDATION_FAILED
, DELETING
,
and DELETE_FAILED
.PackageStatus
public PackageDetails withPackageStatus(PackageStatus packageStatus)
The current status of the package. The available options are AVAILABLE
, COPYING
,
COPY_FAILED
, VALIDATNG
, VALIDATION_FAILED
, DELETING
, and
DELETE_FAILED
.
packageStatus
- The current status of the package. The available options are AVAILABLE
, COPYING
,
COPY_FAILED
, VALIDATNG
, VALIDATION_FAILED
, DELETING
,
and DELETE_FAILED
.PackageStatus
public 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 void setEngineVersion(String engineVersion)
Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.
engineVersion
- Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the
latest version of OpenSearch.public String getEngineVersion()
Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.
public PackageDetails withEngineVersion(String engineVersion)
Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.
engineVersion
- Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the
latest version of OpenSearch.public void setAvailablePluginProperties(PluginProperties availablePluginProperties)
If the package is a ZIP-PLUGIN
package, additional information about plugin properties.
availablePluginProperties
- If the package is a ZIP-PLUGIN
package, additional information about plugin properties.public PluginProperties getAvailablePluginProperties()
If the package is a ZIP-PLUGIN
package, additional information about plugin properties.
ZIP-PLUGIN
package, additional information about plugin properties.public PackageDetails withAvailablePluginProperties(PluginProperties availablePluginProperties)
If the package is a ZIP-PLUGIN
package, additional information about plugin properties.
availablePluginProperties
- If the package is a ZIP-PLUGIN
package, additional information about plugin properties.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.