Interface CreatePackageRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreatePackageRequest.Builder,CreatePackageRequest>,OpenSearchRequest.Builder,SdkBuilder<CreatePackageRequest.Builder,CreatePackageRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreatePackageRequest
@Mutable @NotThreadSafe public static interface CreatePackageRequest.Builder extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<CreatePackageRequest.Builder,CreatePackageRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreatePackageRequest.BuilderengineVersion(String engineVersion)The version of the Amazon OpenSearch Service engine for which is compatible with the package.CreatePackageRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreatePackageRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreatePackageRequest.BuilderpackageConfiguration(Consumer<PackageConfiguration.Builder> packageConfiguration)The configuration parameters for the package being created.CreatePackageRequest.BuilderpackageConfiguration(PackageConfiguration packageConfiguration)The configuration parameters for the package being created.CreatePackageRequest.BuilderpackageDescription(String packageDescription)Description of the package.default CreatePackageRequest.BuilderpackageEncryptionOptions(Consumer<PackageEncryptionOptions.Builder> packageEncryptionOptions)The encryption parameters for the package being created.CreatePackageRequest.BuilderpackageEncryptionOptions(PackageEncryptionOptions packageEncryptionOptions)The encryption parameters for the package being created.CreatePackageRequest.BuilderpackageName(String packageName)Unique name for the package.default CreatePackageRequest.BuilderpackageSource(Consumer<PackageSource.Builder> packageSource)The Amazon S3 location from which to import the package.CreatePackageRequest.BuilderpackageSource(PackageSource packageSource)The Amazon S3 location from which to import the package.CreatePackageRequest.BuilderpackageType(String packageType)The type of package.CreatePackageRequest.BuilderpackageType(PackageType packageType)The type of package.default CreatePackageRequest.BuilderpackageVendingOptions(Consumer<PackageVendingOptions.Builder> packageVendingOptions)The vending options for the package being created.CreatePackageRequest.BuilderpackageVendingOptions(PackageVendingOptions packageVendingOptions)The vending options for the package being created.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchRequest.Builder
build
-
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
-
packageName
CreatePackageRequest.Builder packageName(String packageName)
Unique name for the package.
- Parameters:
packageName- Unique name for the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageType
CreatePackageRequest.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
CreatePackageRequest.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
CreatePackageRequest.Builder packageDescription(String packageDescription)
Description of the package.
- Parameters:
packageDescription- Description of the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageSource
CreatePackageRequest.Builder packageSource(PackageSource packageSource)
The Amazon S3 location from which to import the package.
- Parameters:
packageSource- The Amazon S3 location from which to import the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageSource
default CreatePackageRequest.Builder packageSource(Consumer<PackageSource.Builder> packageSource)
The Amazon S3 location from which to import the package.
This is a convenience method that creates an instance of thePackageSource.Builderavoiding the need to create one manually viaPackageSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topackageSource(PackageSource).- Parameters:
packageSource- a consumer that will call methods onPackageSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
packageSource(PackageSource)
-
packageConfiguration
CreatePackageRequest.Builder packageConfiguration(PackageConfiguration packageConfiguration)
The configuration parameters for the package being created.
- Parameters:
packageConfiguration- The configuration parameters for the package being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageConfiguration
default CreatePackageRequest.Builder packageConfiguration(Consumer<PackageConfiguration.Builder> packageConfiguration)
The configuration parameters for the package being created.
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 topackageConfiguration(PackageConfiguration).- Parameters:
packageConfiguration- 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:
packageConfiguration(PackageConfiguration)
-
engineVersion
CreatePackageRequest.Builder engineVersion(String engineVersion)
The version of the Amazon OpenSearch Service engine for which is compatible with the package. This can only be specified for package type
ZIP-PLUGIN- Parameters:
engineVersion- The version of the Amazon OpenSearch Service engine for which is compatible with the package. This can only be specified for package typeZIP-PLUGIN- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageVendingOptions
CreatePackageRequest.Builder packageVendingOptions(PackageVendingOptions packageVendingOptions)
The vending options for the package being created. They determine if the package can be vended to other users.
- Parameters:
packageVendingOptions- The vending options for the package being created. They determine if the package can be vended to other users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageVendingOptions
default CreatePackageRequest.Builder packageVendingOptions(Consumer<PackageVendingOptions.Builder> packageVendingOptions)
The vending options for the package being created. They determine if the package can be vended to other users.
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
CreatePackageRequest.Builder packageEncryptionOptions(PackageEncryptionOptions packageEncryptionOptions)
The encryption parameters for the package being created.
- Parameters:
packageEncryptionOptions- The encryption parameters for the package being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageEncryptionOptions
default CreatePackageRequest.Builder packageEncryptionOptions(Consumer<PackageEncryptionOptions.Builder> packageEncryptionOptions)
The encryption parameters for the package being created.
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)
-
overrideConfiguration
CreatePackageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePackageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-