Package com.oracle.bmc.marketplace.model
Class ListingPackageSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplace.model.ListingPackageSummary.Builder
-
- Enclosing class:
- ListingPackageSummary
public static class ListingPackageSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
listingId
public ListingPackageSummary.Builder listingId(String listingId)
The ID of the listing that the specified package belongs to.- Parameters:
listingId
- the value to set- Returns:
- this builder
-
packageVersion
public ListingPackageSummary.Builder packageVersion(String packageVersion)
The version of the specified package.- Parameters:
packageVersion
- the value to set- Returns:
- this builder
-
packageType
public ListingPackageSummary.Builder packageType(PackageTypeEnum packageType)
The specified package’s type.- Parameters:
packageType
- the value to set- Returns:
- this builder
-
pricing
public ListingPackageSummary.Builder pricing(PricingModel pricing)
-
regions
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.)
- Parameters:
regions
- the value to set- Returns:
- this builder
-
resourceId
public ListingPackageSummary.Builder resourceId(String resourceId)
The unique identifier for the package resource.- Parameters:
resourceId
- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
build
public ListingPackageSummary build()
-
copy
public ListingPackageSummary.Builder copy(ListingPackageSummary model)
-
-