Class CreateListingRevisionPackageDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.CreateListingRevisionPackageDetails.Builder
-
- Enclosing class:
- CreateListingRevisionPackageDetails
public static class CreateListingRevisionPackageDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
listingRevisionId
public CreateListingRevisionPackageDetails.Builder listingRevisionId(String listingRevisionId)
The OCID for the listing revision in Marketplace Publisher.- Parameters:
listingRevisionId
- the value to set- Returns:
- this builder
-
packageVersion
public CreateListingRevisionPackageDetails.Builder packageVersion(String packageVersion)
The version for the package.- Parameters:
packageVersion
- the value to set- Returns:
- this builder
-
displayName
public CreateListingRevisionPackageDetails.Builder displayName(String displayName)
The name for the listing revision package.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public CreateListingRevisionPackageDetails.Builder description(String description)
Description for this package.- Parameters:
description
- the value to set- Returns:
- this builder
-
artifactId
public CreateListingRevisionPackageDetails.Builder artifactId(String artifactId)
The unique identifier for the artifact.- Parameters:
artifactId
- the value to set- Returns:
- this builder
-
termId
public CreateListingRevisionPackageDetails.Builder termId(String termId)
The unique identifier for the term.- Parameters:
termId
- the value to set- Returns:
- this builder
-
isDefault
public CreateListingRevisionPackageDetails.Builder isDefault(Boolean isDefault)
Identifies that this will be default package for the listing revision.- Parameters:
isDefault
- the value to set- Returns:
- this builder
-
areSecurityUpgradesProvided
public CreateListingRevisionPackageDetails.Builder areSecurityUpgradesProvided(Boolean areSecurityUpgradesProvided)
Identifies whether security upgrades will be provided for this package.- Parameters:
areSecurityUpgradesProvided
- the value to set- Returns:
- this builder
-
freeformTags
public CreateListingRevisionPackageDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public CreateListingRevisionPackageDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public CreateListingRevisionPackageDetails build()
-
copy
public CreateListingRevisionPackageDetails.Builder copy(CreateListingRevisionPackageDetails model)
-
-