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 that the package is associated with.domainPackageStatus
(String domainPackageStatus) State of the association.domainPackageStatus
(DomainPackageStatus domainPackageStatus) State of the association.default DomainPackageDetails.Builder
errorDetails
(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 package association status.Internal ID of the package.packageName
(String packageName) User-specified name of the package.packageType
(String packageType) The type of package.packageType
(PackageType packageType) The type of package.packageVersion
(String packageVersion) The current version of the package.referencePath
(String referencePath) The relative path of the package on the OpenSearch Service cluster nodes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
The type of package.
- Parameters:
packageType
- The type of package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
packageType
The type of package.
- Parameters:
packageType
- The type of package.- 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 package association status.
- Parameters:
lastUpdated
- Timestamp of the most recent update to the package association status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainName
Name of the domain that the package is associated with.
- Parameters:
domainName
- Name of the domain that the package is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainPackageStatus
State of the association.
- Parameters:
domainPackageStatus
- State of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
domainPackageStatus
State of the association.
- Parameters:
domainPackageStatus
- State of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
packageVersion
The current version of the package.
- Parameters:
packageVersion
- The current version of the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referencePath
The relative path of the package on the OpenSearch Service cluster nodes. This is
synonym_path
when the package is for synonym files.- Parameters:
referencePath
- The relative path of the package on the OpenSearch Service cluster nodes. This issynonym_path
when the package is for synonym files.- 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.Builder
avoiding the need to create one manually viaErrorDetails.builder()
.When the
Consumer
completes,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:
-