Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Listing |
build() |
Listing.Builder |
compartmentId(String compartmentId)
The unique identifier for the compartment.
|
Listing.Builder |
copy(Listing model) |
Listing.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Listing.Builder |
extendedMetadata(Map<String,String> extendedMetadata)
Additional metadata key/value pairs for the listing summary.
|
Listing.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Listing.Builder |
id(String id)
Unique OCID identifier for the listing.
|
Listing.Builder |
lifecycleState(Listing.LifecycleState lifecycleState)
The current state of the Listing.
|
Listing.Builder |
listingType(ListingType listingType)
The listing type for the listing.
|
Listing.Builder |
name(String name)
Name for the listing.
|
Listing.Builder |
packageType(PackageType packageType)
The package type for the listing.
|
Listing.Builder |
publisherId(String publisherId)
The unique identifier for the publisher.
|
Listing.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
Listing.Builder |
timeCreated(Date timeCreated)
The date and time the listing was created, in the format defined by
RFC3339.
|
Listing.Builder |
timeUpdated(Date timeUpdated)
The date and time the listing was updated, in the format defined by
RFC3339.
|
public Listing.Builder id(String id)
Unique OCID identifier for the listing.
id
- the value to setpublic Listing.Builder compartmentId(String compartmentId)
The unique identifier for the compartment.
compartmentId
- the value to setpublic Listing.Builder publisherId(String publisherId)
The unique identifier for the publisher.
publisherId
- the value to setpublic Listing.Builder listingType(ListingType listingType)
The listing type for the listing.
listingType
- the value to setpublic Listing.Builder name(String name)
Name for the listing.
name
- the value to setpublic Listing.Builder packageType(PackageType packageType)
The package type for the listing.
packageType
- the value to setpublic Listing.Builder extendedMetadata(Map<String,String> extendedMetadata)
Additional metadata key/value pairs for the listing summary.
For example:
{"listingRevisionStatus": "Published","listingRevision": "1" }
extendedMetadata
- the value to setpublic Listing.Builder lifecycleState(Listing.LifecycleState lifecycleState)
The current state of the Listing.
lifecycleState
- the value to setpublic Listing.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
timeCreated
- the value to setpublic Listing.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
timeUpdated
- the value to setpublic Listing.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"}
freeformTags
- the value to setpublic Listing.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"}}
definedTags
- the value to setpublic Listing.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"}}
systemTags
- the value to setpublic Listing build()
public Listing.Builder copy(Listing model)
Copyright © 2016–2024. All rights reserved.