public static interface UpdatePackageRequest.Builder extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<UpdatePackageRequest.Builder,UpdatePackageRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdatePackageRequest.Builder |
commitMessage(String commitMessage)
Commit message for the updated file, which is shown as part of
GetPackageVersionHistoryResponse. |
UpdatePackageRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdatePackageRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdatePackageRequest.Builder |
packageDescription(String packageDescription)
A new description of the package.
|
UpdatePackageRequest.Builder |
packageID(String packageID)
The unique identifier for the package.
|
default UpdatePackageRequest.Builder |
packageSource(Consumer<PackageSource.Builder> packageSource)
Amazon S3 bucket and key for the package.
|
UpdatePackageRequest.Builder |
packageSource(PackageSource packageSource)
Amazon S3 bucket and key for the package.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdatePackageRequest.Builder packageID(String packageID)
The unique identifier for the package.
packageID - The unique identifier for the package.UpdatePackageRequest.Builder packageSource(PackageSource packageSource)
Amazon S3 bucket and key for the package.
packageSource - Amazon S3 bucket and key for the package.default UpdatePackageRequest.Builder packageSource(Consumer<PackageSource.Builder> packageSource)
Amazon S3 bucket and key for 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)UpdatePackageRequest.Builder packageDescription(String packageDescription)
A new description of the package.
packageDescription - A new description of the package.UpdatePackageRequest.Builder commitMessage(String commitMessage)
Commit message for the updated file, which is shown as part of GetPackageVersionHistoryResponse.
commitMessage - Commit message for the updated file, which is shown as part of
GetPackageVersionHistoryResponse.UpdatePackageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdatePackageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.