@Generated(value="software.amazon.awssdk:codegen") public final class DomainPackageDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DomainPackageDetails.Builder,DomainPackageDetails>
Information about a package that is associated with a domain. For more information, see Custom packages for Amazon OpenSearch Service.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DomainPackageDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DomainPackageDetails.Builder |
builder() |
String |
domainName()
Name of the domain that the package is associated with.
|
DomainPackageStatus |
domainPackageStatus()
State of the association.
|
String |
domainPackageStatusAsString()
State of the association.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ErrorDetails |
errorDetails()
Additional information if the package is in an error state.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdated()
Timestamp of the most recent update to the package association status.
|
String |
packageID()
Internal ID of the package.
|
String |
packageName()
User-specified name of the package.
|
PackageType |
packageType()
The type of package.
|
String |
packageTypeAsString()
The type of package.
|
String |
packageVersion()
The current version of the package.
|
String |
referencePath()
The relative path of the package on the OpenSearch Service cluster nodes.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DomainPackageDetails.Builder> |
serializableBuilderClass() |
DomainPackageDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String packageID()
Internal ID of the package.
public final String packageName()
User-specified name of the package.
public final PackageType packageType()
The type of package.
If the service returns an enum value that is not available in the current SDK version, packageType will
return PackageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
packageTypeAsString().
PackageTypepublic final String packageTypeAsString()
The type of package.
If the service returns an enum value that is not available in the current SDK version, packageType will
return PackageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
packageTypeAsString().
PackageTypepublic final Instant lastUpdated()
Timestamp of the most recent update to the package association status.
public final String domainName()
Name of the domain that the package is associated with.
public final DomainPackageStatus domainPackageStatus()
State of the association.
If the service returns an enum value that is not available in the current SDK version,
domainPackageStatus will return DomainPackageStatus.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from domainPackageStatusAsString().
DomainPackageStatuspublic final String domainPackageStatusAsString()
State of the association.
If the service returns an enum value that is not available in the current SDK version,
domainPackageStatus will return DomainPackageStatus.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from domainPackageStatusAsString().
DomainPackageStatuspublic final String packageVersion()
The current version of the package.
public final 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.
synonym_path when the package is for synonym files.public final ErrorDetails errorDetails()
Additional information if the package is in an error state. Null otherwise.
public DomainPackageDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DomainPackageDetails.Builder,DomainPackageDetails>public static DomainPackageDetails.Builder builder()
public static Class<? extends DomainPackageDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.