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