Class CreateListingDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.CreateListingDetails.Builder
-
- Enclosing class:
- CreateListingDetails
public static class CreateListingDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateListingDetails
build()
CreateListingDetails.Builder
compartmentId(String compartmentId)
The unique identifier for the compartment.CreateListingDetails.Builder
copy(CreateListingDetails model)
CreateListingDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreateListingDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.CreateListingDetails.Builder
listingType(ListingType listingType)
The listing type for the listing.CreateListingDetails.Builder
name(String name)
The name for the listing.CreateListingDetails.Builder
packageType(PackageType packageType)
The package type for the listing.
-
-
-
Method Detail
-
compartmentId
public CreateListingDetails.Builder compartmentId(String compartmentId)
The unique identifier for the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
name
public CreateListingDetails.Builder name(String name)
The name for the listing.- Parameters:
name
- the value to set- Returns:
- this builder
-
listingType
public CreateListingDetails.Builder listingType(ListingType listingType)
The listing type for the listing.- Parameters:
listingType
- the value to set- Returns:
- this builder
-
packageType
public CreateListingDetails.Builder packageType(PackageType packageType)
The package type for the listing.- Parameters:
packageType
- the value to set- Returns:
- this builder
-
freeformTags
public CreateListingDetails.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 CreateListingDetails.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 CreateListingDetails build()
-
copy
public CreateListingDetails.Builder copy(CreateListingDetails model)
-
-