Class ListingSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.ListingSummary.Builder
-
- Enclosing class:
- ListingSummary
public static class ListingSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListingSummary
build()
ListingSummary.Builder
compartmentId(String compartmentId)
The unique identifier of the compartment.ListingSummary.Builder
copy(ListingSummary model)
ListingSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ListingSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.ListingSummary.Builder
id(String id)
The unique OCID of the listing.ListingSummary.Builder
lifecycleState(Listing.LifecycleState lifecycleState)
The current state for the Listing.ListingSummary.Builder
listingType(ListingType listingType)
The listing type of the Listing.ListingSummary.Builder
name(String name)
The name of the listing.ListingSummary.Builder
packageType(PackageType packageType)
The package type for the listing.ListingSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.ListingSummary.Builder
timeCreated(Date timeCreated)
The date and time the listing was created, in the format defined by RFC3339.ListingSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the listing was updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public ListingSummary.Builder id(String id)
The unique OCID of the listing.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public ListingSummary.Builder compartmentId(String compartmentId)
The unique identifier of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
listingType
public ListingSummary.Builder listingType(ListingType listingType)
The listing type of the Listing.- Parameters:
listingType
- the value to set- Returns:
- this builder
-
name
public ListingSummary.Builder name(String name)
The name of the listing.- Parameters:
name
- the value to set- Returns:
- this builder
-
lifecycleState
public ListingSummary.Builder lifecycleState(Listing.LifecycleState lifecycleState)
The current state for the Listing.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
packageType
public ListingSummary.Builder packageType(PackageType packageType)
The package type for the listing.- Parameters:
packageType
- the value to set- Returns:
- this builder
-
timeCreated
public ListingSummary.Builder timeCreated(Date timeCreated)
The date and time the listing was created, in the format defined by RFC3339.Example: 2023-03-27T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public ListingSummary.Builder timeUpdated(Date timeUpdated)
The date and time the listing was updated, in the format defined by RFC3339.Example: 2023-03-27T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public ListingSummary.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 ListingSummary.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
-
systemTags
public ListingSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public ListingSummary build()
-
copy
public ListingSummary.Builder copy(ListingSummary model)
-
-