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)
The user-specified name of the package.
|
PackageDetails.Builder |
packageStatus(PackageStatus packageStatus)
The current status of the package.
|
PackageDetails.Builder |
packageStatus(String packageStatus)
The 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)
The user-specified name of the package.
packageName - The 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)
The current status of the package. The available options are AVAILABLE, COPYING,
COPY_FAILED, VALIDATNG, VALIDATION_FAILED, DELETING, and
DELETE_FAILED.
packageStatus - The current status of the package. The available options are AVAILABLE,
COPYING, COPY_FAILED, VALIDATNG, VALIDATION_FAILED
, DELETING, and DELETE_FAILED.PackageStatus,
PackageStatusPackageDetails.Builder packageStatus(PackageStatus packageStatus)
The current status of the package. The available options are AVAILABLE, COPYING,
COPY_FAILED, VALIDATNG, VALIDATION_FAILED, DELETING, and
DELETE_FAILED.
packageStatus - The current status of the package. The available options are AVAILABLE,
COPYING, COPY_FAILED, VALIDATNG, VALIDATION_FAILED
, DELETING, and DELETE_FAILED.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 © 2023. All rights reserved.