public static interface PackageDetails.Builder extends SdkPojo, CopyableBuilder<PackageDetails.Builder,PackageDetails>
| Modifier and Type | Method and Description |
|---|---|
PackageDetails.Builder |
availablePackageVersion(String availablePackageVersion)
The package version.
|
PackageDetails.Builder |
createdAt(Instant createdAt)
The timestamp when the package was created.
|
default PackageDetails.Builder |
errorDetails(Consumer<ErrorDetails.Builder> errorDetails)
Additional information if the package is in an error state.
|
PackageDetails.Builder |
errorDetails(ErrorDetails errorDetails)
Additional information if the package is in an error state.
|
PackageDetails.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
Date and time when the package was last updated.
|
PackageDetails.Builder |
packageDescription(String packageDescription)
User-specified description of the package.
|
PackageDetails.Builder |
packageID(String packageID)
The unique identifier of the package.
|
PackageDetails.Builder |
packageName(String packageName)
User-specified name of the package.
|
PackageDetails.Builder |
packageStatus(PackageStatus packageStatus)
Current status of the package.
|
PackageDetails.Builder |
packageStatus(String packageStatus)
Current status of the package.
|
PackageDetails.Builder |
packageType(PackageType packageType)
The type of package.
|
PackageDetails.Builder |
packageType(String packageType)
The type of package.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPackageDetails.Builder packageID(String packageID)
The unique identifier of the package.
packageID - The unique identifier of the package.PackageDetails.Builder packageName(String packageName)
User-specified name of the package.
packageName - User-specified name of the package.PackageDetails.Builder packageType(String packageType)
The type of package.
packageType - The type of package.PackageType,
PackageTypePackageDetails.Builder packageType(PackageType packageType)
The type of package.
packageType - The type of package.PackageType,
PackageTypePackageDetails.Builder packageDescription(String packageDescription)
User-specified description of the package.
packageDescription - User-specified description of the package.PackageDetails.Builder packageStatus(String packageStatus)
Current status of the package.
packageStatus - Current status of the package.PackageStatus,
PackageStatusPackageDetails.Builder packageStatus(PackageStatus packageStatus)
Current status of the package.
packageStatus - Current status of the package.PackageStatus,
PackageStatusPackageDetails.Builder createdAt(Instant createdAt)
The timestamp when the package was created.
createdAt - The timestamp when the package was created.PackageDetails.Builder lastUpdatedAt(Instant lastUpdatedAt)
Date and time when the package was last updated.
lastUpdatedAt - Date and time when the package was last updated.PackageDetails.Builder availablePackageVersion(String availablePackageVersion)
The package version.
availablePackageVersion - The package version.PackageDetails.Builder errorDetails(ErrorDetails errorDetails)
Additional information if the package is in an error state. Null otherwise.
errorDetails - Additional information if the package is in an error state. Null otherwise.default PackageDetails.Builder errorDetails(Consumer<ErrorDetails.Builder> errorDetails)
Additional information if the package is in an error state. Null otherwise.
This is a convenience method that creates an instance of theErrorDetails.Builder avoiding the need
to create one manually via ErrorDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to errorDetails(ErrorDetails).
errorDetails - a consumer that will call methods on ErrorDetails.BuildererrorDetails(ErrorDetails)Copyright © 2022. All rights reserved.