@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DomainPackageDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about a package that is associated with a domain. For more information, see Custom packages for Amazon OpenSearch Service.
| Constructor and Description |
|---|
DomainPackageDetails() |
| Modifier and Type | Method and Description |
|---|---|
DomainPackageDetails |
clone() |
boolean |
equals(Object obj) |
String |
getDomainName()
Name of the domain that the package is associated with.
|
String |
getDomainPackageStatus()
State of the association.
|
ErrorDetails |
getErrorDetails()
Additional information if the package is in an error state.
|
Date |
getLastUpdated()
Timestamp of the most recent update to the package association status.
|
String |
getPackageID()
Internal ID of the package.
|
String |
getPackageName()
User-specified name of the package.
|
String |
getPackageType()
The type of package.
|
String |
getPackageVersion()
The current version of the package.
|
String |
getReferencePath()
The relative path of the package on the OpenSearch Service cluster nodes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDomainName(String domainName)
Name of the domain that the package is associated with.
|
void |
setDomainPackageStatus(String domainPackageStatus)
State of the association.
|
void |
setErrorDetails(ErrorDetails errorDetails)
Additional information if the package is in an error state.
|
void |
setLastUpdated(Date lastUpdated)
Timestamp of the most recent update to the package association status.
|
void |
setPackageID(String packageID)
Internal ID of the package.
|
void |
setPackageName(String packageName)
User-specified name of the package.
|
void |
setPackageType(String packageType)
The type of package.
|
void |
setPackageVersion(String packageVersion)
The current version of the package.
|
void |
setReferencePath(String referencePath)
The relative path of the package on the OpenSearch Service cluster nodes.
|
String |
toString()
Returns a string representation of this object.
|
DomainPackageDetails |
withDomainName(String domainName)
Name of the domain that the package is associated with.
|
DomainPackageDetails |
withDomainPackageStatus(DomainPackageStatus domainPackageStatus)
State of the association.
|
DomainPackageDetails |
withDomainPackageStatus(String domainPackageStatus)
State of the association.
|
DomainPackageDetails |
withErrorDetails(ErrorDetails errorDetails)
Additional information if the package is in an error state.
|
DomainPackageDetails |
withLastUpdated(Date lastUpdated)
Timestamp of the most recent update to the package association status.
|
DomainPackageDetails |
withPackageID(String packageID)
Internal ID of the package.
|
DomainPackageDetails |
withPackageName(String packageName)
User-specified name of the package.
|
DomainPackageDetails |
withPackageType(PackageType packageType)
The type of package.
|
DomainPackageDetails |
withPackageType(String packageType)
The type of package.
|
DomainPackageDetails |
withPackageVersion(String packageVersion)
The current version of the package.
|
DomainPackageDetails |
withReferencePath(String referencePath)
The relative path of the package on the OpenSearch Service cluster nodes.
|
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 DomainPackageDetails 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 DomainPackageDetails 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 DomainPackageDetails withPackageType(String packageType)
The type of package.
packageType - The type of package.PackageTypepublic DomainPackageDetails withPackageType(PackageType packageType)
The type of package.
packageType - The type of package.PackageTypepublic void setLastUpdated(Date lastUpdated)
Timestamp of the most recent update to the package association status.
lastUpdated - Timestamp of the most recent update to the package association status.public Date getLastUpdated()
Timestamp of the most recent update to the package association status.
public DomainPackageDetails withLastUpdated(Date lastUpdated)
Timestamp of the most recent update to the package association status.
lastUpdated - Timestamp of the most recent update to the package association status.public void setDomainName(String domainName)
Name of the domain that the package is associated with.
domainName - Name of the domain that the package is associated with.public String getDomainName()
Name of the domain that the package is associated with.
public DomainPackageDetails withDomainName(String domainName)
Name of the domain that the package is associated with.
domainName - Name of the domain that the package is associated with.public void setDomainPackageStatus(String domainPackageStatus)
State of the association.
domainPackageStatus - State of the association.DomainPackageStatuspublic String getDomainPackageStatus()
State of the association.
DomainPackageStatuspublic DomainPackageDetails withDomainPackageStatus(String domainPackageStatus)
State of the association.
domainPackageStatus - State of the association.DomainPackageStatuspublic DomainPackageDetails withDomainPackageStatus(DomainPackageStatus domainPackageStatus)
State of the association.
domainPackageStatus - State of the association.DomainPackageStatuspublic void setPackageVersion(String packageVersion)
The current version of the package.
packageVersion - The current version of the package.public String getPackageVersion()
The current version of the package.
public DomainPackageDetails withPackageVersion(String packageVersion)
The current version of the package.
packageVersion - The current version of the package.public void setReferencePath(String referencePath)
The relative path of the package on the OpenSearch Service cluster nodes. This is synonym_path when
the package is for synonym files.
referencePath - The relative path of the package on the OpenSearch Service cluster nodes. This is
synonym_path when the package is for synonym files.public String getReferencePath()
The relative path of the package on the OpenSearch Service cluster nodes. This is synonym_path when
the package is for synonym files.
synonym_path when the package is for synonym files.public DomainPackageDetails withReferencePath(String referencePath)
The relative path of the package on the OpenSearch Service cluster nodes. This is synonym_path when
the package is for synonym files.
referencePath - The relative path of the package on the OpenSearch Service cluster nodes. This is
synonym_path when the package is for synonym files.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 DomainPackageDetails 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 DomainPackageDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.