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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribePackageResponse.BuilderpackageValue(Consumer<PackageDescription.Builder> packageValue)A PackageDescription object that contains information about the requested package.DescribePackageResponse.BuilderpackageValue(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, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
packageValue
DescribePackageResponse.Builder packageValue(PackageDescription 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:
packageValue(PackageDescription)
-
-