public static interface DomainPackageDetails.Builder extends SdkPojo, CopyableBuilder<DomainPackageDetails.Builder,DomainPackageDetails>
| Modifier and Type | Method and Description |
|---|---|
DomainPackageDetails.Builder |
domainName(String domainName)
Name of the domain that the package is associated with.
|
DomainPackageDetails.Builder |
domainPackageStatus(DomainPackageStatus domainPackageStatus)
State of the association.
|
DomainPackageDetails.Builder |
domainPackageStatus(String domainPackageStatus)
State of the association.
|
default DomainPackageDetails.Builder |
errorDetails(Consumer<ErrorDetails.Builder> errorDetails)
Additional information if the package is in an error state.
|
DomainPackageDetails.Builder |
errorDetails(ErrorDetails errorDetails)
Additional information if the package is in an error state.
|
DomainPackageDetails.Builder |
lastUpdated(Instant lastUpdated)
Timestamp of the most recent update to the package association status.
|
DomainPackageDetails.Builder |
packageID(String packageID)
Internal ID of the package.
|
DomainPackageDetails.Builder |
packageName(String packageName)
User-specified name of the package.
|
DomainPackageDetails.Builder |
packageType(PackageType packageType)
The type of package.
|
DomainPackageDetails.Builder |
packageType(String packageType)
The type of package.
|
DomainPackageDetails.Builder |
packageVersion(String packageVersion)
The current version of the package.
|
DomainPackageDetails.Builder |
referencePath(String referencePath)
The relative path of the package on the OpenSearch Service cluster nodes.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDomainPackageDetails.Builder packageID(String packageID)
Internal ID of the package.
packageID - Internal ID of the package.DomainPackageDetails.Builder packageName(String packageName)
User-specified name of the package.
packageName - User-specified name of the package.DomainPackageDetails.Builder packageType(String packageType)
The type of package.
packageType - The type of package.PackageType,
PackageTypeDomainPackageDetails.Builder packageType(PackageType packageType)
The type of package.
packageType - The type of package.PackageType,
PackageTypeDomainPackageDetails.Builder lastUpdated(Instant lastUpdated)
Timestamp of the most recent update to the package association status.
lastUpdated - Timestamp of the most recent update to the package association status.DomainPackageDetails.Builder domainName(String domainName)
Name of the domain that the package is associated with.
domainName - Name of the domain that the package is associated with.DomainPackageDetails.Builder domainPackageStatus(String domainPackageStatus)
State of the association.
domainPackageStatus - State of the association.DomainPackageStatus,
DomainPackageStatusDomainPackageDetails.Builder domainPackageStatus(DomainPackageStatus domainPackageStatus)
State of the association.
domainPackageStatus - State of the association.DomainPackageStatus,
DomainPackageStatusDomainPackageDetails.Builder packageVersion(String packageVersion)
The current version of the package.
packageVersion - The current version of the package.DomainPackageDetails.Builder referencePath(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.DomainPackageDetails.Builder errorDetails(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.default DomainPackageDetails.Builder errorDetails(Consumer<ErrorDetails.Builder> errorDetails)
Additional information if the package is in an error state. Null otherwise.
This is a convenience method that creates an instance of theErrorDetails.Builder avoiding the need
to create one manually via ErrorDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to errorDetails(ErrorDetails).
errorDetails - a consumer that will call methods on ErrorDetails.BuildererrorDetails(ErrorDetails)Copyright © 2023. All rights reserved.