Interface PackageDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PackageDetails.Builder,
,PackageDetails> SdkBuilder<PackageDetails.Builder,
,PackageDetails> SdkPojo
- Enclosing class:
PackageDetails
-
Method Summary
Modifier and TypeMethodDescriptionavailablePackageVersion
(String availablePackageVersion) The package version.default PackageDetails.Builder
availablePluginProperties
(Consumer<PluginProperties.Builder> availablePluginProperties) If the package is aZIP-PLUGIN
package, additional information about plugin properties.availablePluginProperties
(PluginProperties availablePluginProperties) If the package is aZIP-PLUGIN
package, additional information about plugin properties.The timestamp when the package was created.engineVersion
(String engineVersion) Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y.default PackageDetails.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.lastUpdatedAt
(Instant lastUpdatedAt) Date and time when the package was last updated.packageDescription
(String packageDescription) User-specified description of the package.The unique identifier of the package.packageName
(String packageName) The user-specified name of the package.packageStatus
(String packageStatus) The current status of the package.packageStatus
(PackageStatus packageStatus) The current status of the package.packageType
(String packageType) The type of package.packageType
(PackageType packageType) The type of package.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
The unique identifier of the package.
- Parameters:
packageID
- The unique identifier of the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageName
The user-specified name of the package.
- Parameters:
packageName
- The 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:
-
packageDescription
User-specified description of the package.
- Parameters:
packageDescription
- User-specified description of the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageStatus
The current status of the package. The available options are
AVAILABLE
,COPYING
,COPY_FAILED
,VALIDATNG
,VALIDATION_FAILED
,DELETING
, andDELETE_FAILED
.- Parameters:
packageStatus
- The current status of the package. The available options areAVAILABLE
,COPYING
,COPY_FAILED
,VALIDATNG
,VALIDATION_FAILED
,DELETING
, andDELETE_FAILED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
packageStatus
The current status of the package. The available options are
AVAILABLE
,COPYING
,COPY_FAILED
,VALIDATNG
,VALIDATION_FAILED
,DELETING
, andDELETE_FAILED
.- Parameters:
packageStatus
- The current status of the package. The available options areAVAILABLE
,COPYING
,COPY_FAILED
,VALIDATNG
,VALIDATION_FAILED
,DELETING
, andDELETE_FAILED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the package was created.
- Parameters:
createdAt
- The timestamp when the package was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
Date and time when the package was last updated.
- Parameters:
lastUpdatedAt
- Date and time when the package was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availablePackageVersion
The package version.
- Parameters:
availablePackageVersion
- The package version.- 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:
-
engineVersion
Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.
- Parameters:
engineVersion
- Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availablePluginProperties
If the package is a
ZIP-PLUGIN
package, additional information about plugin properties.- Parameters:
availablePluginProperties
- If the package is aZIP-PLUGIN
package, additional information about plugin properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availablePluginProperties
default PackageDetails.Builder availablePluginProperties(Consumer<PluginProperties.Builder> availablePluginProperties) If the package is a
This is a convenience method that creates an instance of theZIP-PLUGIN
package, additional information about plugin properties.PluginProperties.Builder
avoiding the need to create one manually viaPluginProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toavailablePluginProperties(PluginProperties)
.- Parameters:
availablePluginProperties
- a consumer that will call methods onPluginProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-