public static interface PackageDetails.Builder extends SdkPojo, CopyableBuilder<PackageDetails.Builder,PackageDetails>
| Modifier and Type | Method and Description |
|---|---|
PackageDetails.Builder |
availablePackageVersion(String availablePackageVersion)
Sets the value of the AvailablePackageVersion property for this object.
|
PackageDetails.Builder |
createdAt(Instant createdAt)
Timestamp which tells creation date of the package.
|
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)
Sets the value of the LastUpdatedAt property for this object.
|
PackageDetails.Builder |
packageDescription(String packageDescription)
User-specified description of the package.
|
PackageDetails.Builder |
packageID(String packageID)
Internal ID of the package.
|
PackageDetails.Builder |
packageName(String packageName)
User specified name of the package.
|
PackageDetails.Builder |
packageStatus(PackageStatus packageStatus)
Current state of the package.
|
PackageDetails.Builder |
packageStatus(String packageStatus)
Current state of the package.
|
PackageDetails.Builder |
packageType(PackageType packageType)
Currently supports only TXT-DICTIONARY.
|
PackageDetails.Builder |
packageType(String packageType)
Currently supports only TXT-DICTIONARY.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPackageDetails.Builder packageID(String packageID)
Internal ID of the package.
packageID - Internal ID 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)
Currently supports only TXT-DICTIONARY.
packageType - Currently supports only TXT-DICTIONARY.PackageType,
PackageTypePackageDetails.Builder packageType(PackageType packageType)
Currently supports only TXT-DICTIONARY.
packageType - Currently supports only TXT-DICTIONARY.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 state of the package. Values are COPYING/COPY_FAILED/AVAILABLE/DELETING/DELETE_FAILED
packageStatus - Current state of the package. Values are COPYING/COPY_FAILED/AVAILABLE/DELETING/DELETE_FAILEDPackageStatus,
PackageStatusPackageDetails.Builder packageStatus(PackageStatus packageStatus)
Current state of the package. Values are COPYING/COPY_FAILED/AVAILABLE/DELETING/DELETE_FAILED
packageStatus - Current state of the package. Values are COPYING/COPY_FAILED/AVAILABLE/DELETING/DELETE_FAILEDPackageStatus,
PackageStatusPackageDetails.Builder createdAt(Instant createdAt)
Timestamp which tells creation date of the package.
createdAt - Timestamp which tells creation date of the package.PackageDetails.Builder lastUpdatedAt(Instant lastUpdatedAt)
lastUpdatedAt - The new value for the LastUpdatedAt property for this object.PackageDetails.Builder availablePackageVersion(String availablePackageVersion)
availablePackageVersion - The new value for the AvailablePackageVersion property for this object.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 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.