public static class ListingPackageSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListingPackageSummary |
build() |
ListingPackageSummary.Builder |
copy(ListingPackageSummary model) |
ListingPackageSummary.Builder |
listingId(String listingId)
The ID of the listing that the specified package belongs to.
|
ListingPackageSummary.Builder |
packageType(PackageTypeEnum packageType)
The specified package’s type.
|
ListingPackageSummary.Builder |
packageVersion(String packageVersion)
The version of the specified package.
|
ListingPackageSummary.Builder |
pricing(PricingModel pricing) |
ListingPackageSummary.Builder |
regions(List<Region> regions)
The regions where you can deploy the listing package.
|
ListingPackageSummary.Builder |
resourceId(String resourceId)
The unique identifier for the package resource.
|
ListingPackageSummary.Builder |
timeCreated(Date timeCreated)
The date and time this listing package was created, expressed in RFC
3339 timestamp format.
|
public ListingPackageSummary.Builder listingId(String listingId)
The ID of the listing that the specified package belongs to.
listingId
- the value to setpublic ListingPackageSummary.Builder packageVersion(String packageVersion)
The version of the specified package.
packageVersion
- the value to setpublic ListingPackageSummary.Builder packageType(PackageTypeEnum packageType)
The specified package’s type.
packageType
- the value to setpublic ListingPackageSummary.Builder pricing(PricingModel pricing)
public ListingPackageSummary.Builder regions(List<Region> regions)
The regions where you can deploy the listing package. (Some packages have restrictions that limit their deployment to United States regions only.)
regions
- the value to setpublic ListingPackageSummary.Builder resourceId(String resourceId)
The unique identifier for the package resource.
resourceId
- the value to setpublic ListingPackageSummary.Builder timeCreated(Date timeCreated)
The date and time this listing package was created, expressed in RFC 3339 timestamp format.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic ListingPackageSummary build()
public ListingPackageSummary.Builder copy(ListingPackageSummary model)
Copyright © 2016–2024. All rights reserved.