public static interface CreatePackageRequest.Builder extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<CreatePackageRequest.Builder,CreatePackageRequest>
| Modifier and Type | Method and Description |
|---|---|
CreatePackageRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreatePackageRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreatePackageRequest.Builder |
packageDescription(String packageDescription)
Description of the package.
|
CreatePackageRequest.Builder |
packageName(String packageName)
Unique name for the package.
|
default CreatePackageRequest.Builder |
packageSource(Consumer<PackageSource.Builder> packageSource)
The Amazon S3 location from which to import the package.
|
CreatePackageRequest.Builder |
packageSource(PackageSource packageSource)
The Amazon S3 location from which to import the package.
|
CreatePackageRequest.Builder |
packageType(PackageType packageType)
Type of package.
|
CreatePackageRequest.Builder |
packageType(String packageType)
Type of package.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreatePackageRequest.Builder packageName(String packageName)
Unique name for the package.
packageName - Unique name for the package.CreatePackageRequest.Builder packageType(String packageType)
Type of package.
packageType - Type of package.PackageType,
PackageTypeCreatePackageRequest.Builder packageType(PackageType packageType)
Type of package.
packageType - Type of package.PackageType,
PackageTypeCreatePackageRequest.Builder packageDescription(String packageDescription)
Description of the package.
packageDescription - Description of the package.CreatePackageRequest.Builder packageSource(PackageSource packageSource)
The Amazon S3 location from which to import the package.
packageSource - The Amazon S3 location from which to import the package.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.Builder avoiding the need
to create one manually via PackageSource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to packageSource(PackageSource).
packageSource - a consumer that will call methods on PackageSource.BuilderpackageSource(PackageSource)CreatePackageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreatePackageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.