@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DomainPackageDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information on a package associated with a domain.
Constructor and Description |
---|
DomainPackageDetails() |
Modifier and Type | Method and Description |
---|---|
DomainPackageDetails |
clone() |
boolean |
equals(Object obj) |
String |
getDomainName()
The name of the domain you've associated a package with.
|
String |
getDomainPackageStatus()
State of the association.
|
ErrorDetails |
getErrorDetails()
Additional information if the package is in an error state.
|
Date |
getLastUpdated()
The timestamp of the most recent update to the package association status.
|
String |
getPackageID()
The internal ID of the package.
|
String |
getPackageName()
User-specified name of the package.
|
String |
getPackageType()
Currently supports only TXT-DICTIONARY.
|
String |
getPackageVersion() |
String |
getReferencePath()
The relative path on Amazon OpenSearch Service nodes, which can be used as synonym_path when the package is a
synonym file.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDomainName(String domainName)
The name of the domain you've associated a package 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)
The timestamp of the most recent update to the package association status.
|
void |
setPackageID(String packageID)
The internal ID of the package.
|
void |
setPackageName(String packageName)
User-specified name of the package.
|
void |
setPackageType(String packageType)
Currently supports only TXT-DICTIONARY.
|
void |
setPackageVersion(String packageVersion) |
void |
setReferencePath(String referencePath)
The relative path on Amazon OpenSearch Service nodes, which can be used as synonym_path when the package is a
synonym file.
|
String |
toString()
Returns a string representation of this object.
|
DomainPackageDetails |
withDomainName(String domainName)
The name of the domain you've associated a package 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)
The timestamp of the most recent update to the package association status.
|
DomainPackageDetails |
withPackageID(String packageID)
The internal ID of the package.
|
DomainPackageDetails |
withPackageName(String packageName)
User-specified name of the package.
|
DomainPackageDetails |
withPackageType(PackageType packageType)
Currently supports only TXT-DICTIONARY.
|
DomainPackageDetails |
withPackageType(String packageType)
Currently supports only TXT-DICTIONARY.
|
DomainPackageDetails |
withPackageVersion(String packageVersion) |
DomainPackageDetails |
withReferencePath(String referencePath)
The relative path on Amazon OpenSearch Service nodes, which can be used as synonym_path when the package is a
synonym file.
|
public void setPackageID(String packageID)
The internal ID of the package.
packageID
- The internal ID of the package.public String getPackageID()
The internal ID of the package.
public DomainPackageDetails withPackageID(String packageID)
The internal ID of the package.
packageID
- The 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)
Currently supports only TXT-DICTIONARY.
packageType
- Currently supports only TXT-DICTIONARY.PackageType
public String getPackageType()
Currently supports only TXT-DICTIONARY.
PackageType
public DomainPackageDetails withPackageType(String packageType)
Currently supports only TXT-DICTIONARY.
packageType
- Currently supports only TXT-DICTIONARY.PackageType
public DomainPackageDetails withPackageType(PackageType packageType)
Currently supports only TXT-DICTIONARY.
packageType
- Currently supports only TXT-DICTIONARY.PackageType
public void setLastUpdated(Date lastUpdated)
The timestamp of the most recent update to the package association status.
lastUpdated
- The timestamp of the most recent update to the package association status.public Date getLastUpdated()
The timestamp of the most recent update to the package association status.
public DomainPackageDetails withLastUpdated(Date lastUpdated)
The timestamp of the most recent update to the package association status.
lastUpdated
- The timestamp of the most recent update to the package association status.public void setDomainName(String domainName)
The name of the domain you've associated a package with.
domainName
- The name of the domain you've associated a package with.public String getDomainName()
The name of the domain you've associated a package with.
public DomainPackageDetails withDomainName(String domainName)
The name of the domain you've associated a package with.
domainName
- The name of the domain you've associated a package with.public void setDomainPackageStatus(String domainPackageStatus)
State of the association. Values are ASSOCIATING, ASSOCIATION_FAILED, ACTIVE, DISSOCIATING, and DISSOCIATION_FAILED.
domainPackageStatus
- State of the association. Values are ASSOCIATING, ASSOCIATION_FAILED, ACTIVE, DISSOCIATING, and
DISSOCIATION_FAILED.DomainPackageStatus
public String getDomainPackageStatus()
State of the association. Values are ASSOCIATING, ASSOCIATION_FAILED, ACTIVE, DISSOCIATING, and DISSOCIATION_FAILED.
DomainPackageStatus
public DomainPackageDetails withDomainPackageStatus(String domainPackageStatus)
State of the association. Values are ASSOCIATING, ASSOCIATION_FAILED, ACTIVE, DISSOCIATING, and DISSOCIATION_FAILED.
domainPackageStatus
- State of the association. Values are ASSOCIATING, ASSOCIATION_FAILED, ACTIVE, DISSOCIATING, and
DISSOCIATION_FAILED.DomainPackageStatus
public DomainPackageDetails withDomainPackageStatus(DomainPackageStatus domainPackageStatus)
State of the association. Values are ASSOCIATING, ASSOCIATION_FAILED, ACTIVE, DISSOCIATING, and DISSOCIATION_FAILED.
domainPackageStatus
- State of the association. Values are ASSOCIATING, ASSOCIATION_FAILED, ACTIVE, DISSOCIATING, and
DISSOCIATION_FAILED.DomainPackageStatus
public void setPackageVersion(String packageVersion)
packageVersion
- public String getPackageVersion()
public DomainPackageDetails withPackageVersion(String packageVersion)
packageVersion
- public void setReferencePath(String referencePath)
The relative path on Amazon OpenSearch Service nodes, which can be used as synonym_path when the package is a synonym file.
referencePath
- The relative path on Amazon OpenSearch Service nodes, which can be used as synonym_path when the package
is a synonym file.public String getReferencePath()
The relative path on Amazon OpenSearch Service nodes, which can be used as synonym_path when the package is a synonym file.
public DomainPackageDetails withReferencePath(String referencePath)
The relative path on Amazon OpenSearch Service nodes, which can be used as synonym_path when the package is a synonym file.
referencePath
- The relative path on Amazon OpenSearch Service nodes, which can be used as synonym_path when the package
is a synonym file.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 Object
Object.toString()
public DomainPackageDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.