Class DomainPackageDetails
- java.lang.Object
-
- software.amazon.awssdk.services.opensearch.model.DomainPackageDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DomainPackageDetails.Builder,DomainPackageDetails>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDomainPackageDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DomainPackageDetails.Builderbuilder()StringdomainName()Name of the domain that the package is associated with.DomainPackageStatusdomainPackageStatus()State of the association.StringdomainPackageStatusAsString()State of the association.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ErrorDetailserrorDetails()Additional information if the package is in an error state.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdated()Timestamp of the most recent update to the package association status.StringpackageID()Internal ID of the package.StringpackageName()User-specified name of the package.PackageTypepackageType()The type of package.StringpackageTypeAsString()The type of package.StringpackageVersion()The current version of the package.StringreferencePath()The relative path of the package on the OpenSearch Service cluster nodes.List<SdkField<?>>sdkFields()static Class<? extends DomainPackageDetails.Builder>serializableBuilderClass()DomainPackageDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
packageID
public final String packageID()
Internal ID of the package.
- Returns:
- Internal ID of the package.
-
packageName
public final String packageName()
User-specified name of the package.
- Returns:
- User-specified name of the package.
-
packageType
public final PackageType packageType()
The type of package.
If the service returns an enum value that is not available in the current SDK version,
packageTypewill returnPackageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompackageTypeAsString().- Returns:
- The type of package.
- See Also:
PackageType
-
packageTypeAsString
public final String packageTypeAsString()
The type of package.
If the service returns an enum value that is not available in the current SDK version,
packageTypewill returnPackageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompackageTypeAsString().- Returns:
- The type of package.
- See Also:
PackageType
-
lastUpdated
public final Instant lastUpdated()
Timestamp of the most recent update to the package association status.
- Returns:
- Timestamp of the most recent update to the package association status.
-
domainName
public final String domainName()
Name of the domain that the package is associated with.
- Returns:
- Name of the domain that the package is associated with.
-
domainPackageStatus
public final DomainPackageStatus domainPackageStatus()
State of the association.
If the service returns an enum value that is not available in the current SDK version,
domainPackageStatuswill returnDomainPackageStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdomainPackageStatusAsString().- Returns:
- State of the association.
- See Also:
DomainPackageStatus
-
domainPackageStatusAsString
public final String domainPackageStatusAsString()
State of the association.
If the service returns an enum value that is not available in the current SDK version,
domainPackageStatuswill returnDomainPackageStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdomainPackageStatusAsString().- Returns:
- State of the association.
- See Also:
DomainPackageStatus
-
packageVersion
public final String packageVersion()
The current version of the package.
- Returns:
- The current version of the package.
-
referencePath
public final String referencePath()
The relative path of the package on the OpenSearch Service cluster nodes. This is
synonym_pathwhen the package is for synonym files.- Returns:
- The relative path of the package on the OpenSearch Service cluster nodes. This is
synonym_pathwhen the package is for synonym files.
-
errorDetails
public final ErrorDetails errorDetails()
Additional information if the package is in an error state. Null otherwise.
- Returns:
- Additional information if the package is in an error state. Null otherwise.
-
toBuilder
public DomainPackageDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DomainPackageDetails.Builder,DomainPackageDetails>
-
builder
public static DomainPackageDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends DomainPackageDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-