Interface PackageDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PackageDetails.Builder,PackageDetails>,SdkBuilder<PackageDetails.Builder,PackageDetails>,SdkPojo
- Enclosing class:
- PackageDetails
@Mutable @NotThreadSafe public static interface PackageDetails.Builder extends SdkPojo, CopyableBuilder<PackageDetails.Builder,PackageDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PackageDetails.BuilderallowListedUserList(String... allowListedUserList)A list of users who are allowed to view and associate the package.PackageDetails.BuilderallowListedUserList(Collection<String> allowListedUserList)A list of users who are allowed to view and associate the package.default PackageDetails.BuilderavailablePackageConfiguration(Consumer<PackageConfiguration.Builder> availablePackageConfiguration)This represents the available configuration parameters for the package.PackageDetails.BuilderavailablePackageConfiguration(PackageConfiguration availablePackageConfiguration)This represents the available configuration parameters for the package.PackageDetails.BuilderavailablePackageVersion(String availablePackageVersion)The package version.default PackageDetails.BuilderavailablePluginProperties(Consumer<PluginProperties.Builder> availablePluginProperties)If the package is aZIP-PLUGINpackage, additional information about plugin properties.PackageDetails.BuilderavailablePluginProperties(PluginProperties availablePluginProperties)If the package is aZIP-PLUGINpackage, additional information about plugin properties.PackageDetails.BuildercreatedAt(Instant createdAt)The timestamp when the package was created.PackageDetails.BuilderengineVersion(String engineVersion)Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y.default PackageDetails.BuildererrorDetails(Consumer<ErrorDetails.Builder> errorDetails)Additional information if the package is in an error state.PackageDetails.BuildererrorDetails(ErrorDetails errorDetails)Additional information if the package is in an error state.PackageDetails.BuilderlastUpdatedAt(Instant lastUpdatedAt)Date and time when the package was last updated.PackageDetails.BuilderpackageDescription(String packageDescription)User-specified description of the package.default PackageDetails.BuilderpackageEncryptionOptions(Consumer<PackageEncryptionOptions.Builder> packageEncryptionOptions)Encryption options for a package.PackageDetails.BuilderpackageEncryptionOptions(PackageEncryptionOptions packageEncryptionOptions)Encryption options for a package.PackageDetails.BuilderpackageID(String packageID)The unique identifier of the package.PackageDetails.BuilderpackageName(String packageName)The user-specified name of the package.PackageDetails.BuilderpackageOwner(String packageOwner)The owner of the package who is allowed to create and update a package and add users to the package scope.PackageDetails.BuilderpackageStatus(String packageStatus)The current status of the package.PackageDetails.BuilderpackageStatus(PackageStatus packageStatus)The current status of the package.PackageDetails.BuilderpackageType(String packageType)The type of package.PackageDetails.BuilderpackageType(PackageType packageType)The type of package.default PackageDetails.BuilderpackageVendingOptions(Consumer<PackageVendingOptions.Builder> packageVendingOptions)Package Vending Options for a package.PackageDetails.BuilderpackageVendingOptions(PackageVendingOptions packageVendingOptions)Package Vending Options for a 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
packageID
PackageDetails.Builder packageID(String 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
PackageDetails.Builder packageName(String 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
PackageDetails.Builder packageType(String 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,PackageType
-
packageType
PackageDetails.Builder packageType(PackageType 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,PackageType
-
packageDescription
PackageDetails.Builder packageDescription(String 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
PackageDetails.Builder packageStatus(String 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,PackageStatus
-
packageStatus
PackageDetails.Builder packageStatus(PackageStatus 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,PackageStatus
-
createdAt
PackageDetails.Builder createdAt(Instant 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
PackageDetails.Builder lastUpdatedAt(Instant 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
PackageDetails.Builder availablePackageVersion(String 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
PackageDetails.Builder errorDetails(ErrorDetails 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
default PackageDetails.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.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:
errorDetails(ErrorDetails)
-
engineVersion
PackageDetails.Builder engineVersion(String 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
PackageDetails.Builder availablePluginProperties(PluginProperties availablePluginProperties)
If the package is a
ZIP-PLUGINpackage, additional information about plugin properties.- Parameters:
availablePluginProperties- If the package is aZIP-PLUGINpackage, 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-PLUGINpackage, additional information about plugin properties.PluginProperties.Builderavoiding the need to create one manually viaPluginProperties.builder().When the
Consumercompletes,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:
availablePluginProperties(PluginProperties)
-
availablePackageConfiguration
PackageDetails.Builder availablePackageConfiguration(PackageConfiguration availablePackageConfiguration)
This represents the available configuration parameters for the package.
- Parameters:
availablePackageConfiguration- This represents the available configuration parameters for the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availablePackageConfiguration
default PackageDetails.Builder availablePackageConfiguration(Consumer<PackageConfiguration.Builder> availablePackageConfiguration)
This represents the available configuration parameters for the package.
This is a convenience method that creates an instance of thePackageConfiguration.Builderavoiding the need to create one manually viaPackageConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toavailablePackageConfiguration(PackageConfiguration).- Parameters:
availablePackageConfiguration- a consumer that will call methods onPackageConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
availablePackageConfiguration(PackageConfiguration)
-
allowListedUserList
PackageDetails.Builder allowListedUserList(Collection<String> allowListedUserList)
A list of users who are allowed to view and associate the package. This field is only visible to the owner of a package.
- Parameters:
allowListedUserList- A list of users who are allowed to view and associate the package. This field is only visible to the owner of a package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowListedUserList
PackageDetails.Builder allowListedUserList(String... allowListedUserList)
A list of users who are allowed to view and associate the package. This field is only visible to the owner of a package.
- Parameters:
allowListedUserList- A list of users who are allowed to view and associate the package. This field is only visible to the owner of a package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageOwner
PackageDetails.Builder packageOwner(String packageOwner)
The owner of the package who is allowed to create and update a package and add users to the package scope.
- Parameters:
packageOwner- The owner of the package who is allowed to create and update a package and add users to the package scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageVendingOptions
PackageDetails.Builder packageVendingOptions(PackageVendingOptions packageVendingOptions)
Package Vending Options for a package.
- Parameters:
packageVendingOptions- Package Vending Options for a package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageVendingOptions
default PackageDetails.Builder packageVendingOptions(Consumer<PackageVendingOptions.Builder> packageVendingOptions)
Package Vending Options for a package.
This is a convenience method that creates an instance of thePackageVendingOptions.Builderavoiding the need to create one manually viaPackageVendingOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topackageVendingOptions(PackageVendingOptions).- Parameters:
packageVendingOptions- a consumer that will call methods onPackageVendingOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
packageVendingOptions(PackageVendingOptions)
-
packageEncryptionOptions
PackageDetails.Builder packageEncryptionOptions(PackageEncryptionOptions packageEncryptionOptions)
Encryption options for a package.
- Parameters:
packageEncryptionOptions- Encryption options for a package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageEncryptionOptions
default PackageDetails.Builder packageEncryptionOptions(Consumer<PackageEncryptionOptions.Builder> packageEncryptionOptions)
Encryption options for a package.
This is a convenience method that creates an instance of thePackageEncryptionOptions.Builderavoiding the need to create one manually viaPackageEncryptionOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topackageEncryptionOptions(PackageEncryptionOptions).- Parameters:
packageEncryptionOptions- a consumer that will call methods onPackageEncryptionOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
packageEncryptionOptions(PackageEncryptionOptions)
-
-