public static interface DescribePackageResponse.Builder extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<DescribePackageResponse.Builder,DescribePackageResponse>
| Modifier and Type | Method and Description |
|---|---|
default DescribePackageResponse.Builder |
packageValue(Consumer<PackageDescription.Builder> packageValue)
A
PackageDescription object that contains information about the requested package.
|
DescribePackageResponse.Builder |
packageValue(PackageDescription packageValue)
A
PackageDescription object that contains information about the requested package.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribePackageResponse.Builder packageValue(PackageDescription packageValue)
A PackageDescription object that contains information about the requested package.
packageValue - A
PackageDescription object that contains information about the requested package.default DescribePackageResponse.Builder packageValue(Consumer<PackageDescription.Builder> packageValue)
A PackageDescription object that contains information about the requested package.
This is a convenience method that creates an instance of thePackageDescription.Builder avoiding the
need to create one manually via PackageDescription.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to packageValue(PackageDescription).
packageValue - a consumer that will call methods on PackageDescription.BuilderpackageValue(PackageDescription)Copyright © 2023. All rights reserved.