Interface DomainPackageDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DomainPackageDetails.Builder,,DomainPackageDetails> SdkBuilder<DomainPackageDetails.Builder,,DomainPackageDetails> SdkPojo
- Enclosing class:
DomainPackageDetails
-
Method Summary
Modifier and TypeMethodDescriptiondomainName(String domainName) Name of the domain you've associated a package with.domainPackageStatus(String domainPackageStatus) State of the association.domainPackageStatus(DomainPackageStatus domainPackageStatus) State of the association.default DomainPackageDetails.BuildererrorDetails(Consumer<ErrorDetails.Builder> errorDetails) Additional information if the package is in an error state.errorDetails(ErrorDetails errorDetails) Additional information if the package is in an error state.lastUpdated(Instant lastUpdated) Timestamp of the most-recent update to the association status.Internal ID of the package.packageName(String packageName) User specified name of the package.packageType(String packageType) Currently supports only TXT-DICTIONARY.packageType(PackageType packageType) Currently supports only TXT-DICTIONARY.packageVersion(String packageVersion) Sets the value of the PackageVersion property for this object.referencePath(String referencePath) The relative path on Amazon ES nodes, which can be used as synonym_path when the package is synonym file.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
packageID
Internal ID of the package.
- Parameters:
packageID- Internal ID of the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageName
User specified name of the package.
- Parameters:
packageName- User specified name of the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageType
Currently supports only TXT-DICTIONARY.
- Parameters:
packageType- Currently supports only TXT-DICTIONARY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
packageType
Currently supports only TXT-DICTIONARY.
- Parameters:
packageType- Currently supports only TXT-DICTIONARY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdated
Timestamp of the most-recent update to the association status.
- Parameters:
lastUpdated- Timestamp of the most-recent update to the association status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainName
Name of the domain you've associated a package with.
- Parameters:
domainName- Name of the domain you've associated a package with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainPackageStatus
State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.
- Parameters:
domainPackageStatus- State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
domainPackageStatus
State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.
- Parameters:
domainPackageStatus- State of the association. Values are ASSOCIATING/ASSOCIATION_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION_FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
packageVersion
Sets the value of the PackageVersion property for this object.- Parameters:
packageVersion- The new value for the PackageVersion property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referencePath
The relative path on Amazon ES nodes, which can be used as synonym_path when the package is synonym file.
- Parameters:
referencePath- The relative path on Amazon ES nodes, which can be used as synonym_path when the package is synonym file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
Additional information if the package is in an error state. Null otherwise.
- Parameters:
errorDetails- Additional information if the package is in an error state. Null otherwise.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
Additional information if the package is in an error state. Null otherwise.
This is a convenience method that creates an instance of theErrorDetails.Builderavoiding the need to create one manually viaErrorDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorDetails(ErrorDetails).- Parameters:
errorDetails- a consumer that will call methods onErrorDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-