Interface DescribePackageResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CodeartifactResponse.Builder,CopyableBuilder<DescribePackageResponse.Builder,,DescribePackageResponse> SdkBuilder<DescribePackageResponse.Builder,,DescribePackageResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 DescribePackageResponse
public static interface DescribePackageResponse.Builder
extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<DescribePackageResponse.Builder,DescribePackageResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault DescribePackageResponse.BuilderpackageValue(Consumer<PackageDescription.Builder> packageValue) A PackageDescription object that contains information about the requested package.packageValue(PackageDescription packageValue) A PackageDescription object that contains information about the requested package.Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
packageValue
A PackageDescription object that contains information about the requested package.
- Parameters:
 packageValue- A PackageDescription object that contains information about the requested package.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
packageValue
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.Builderavoiding the need to create one manually viaPackageDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topackageValue(PackageDescription).- Parameters:
 packageValue- a consumer that will call methods onPackageDescription.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -