public static class ListingSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public ListingSummary.Builder id(String id)
The unique OCID of the listing.
id
- the value to setpublic ListingSummary.Builder compartmentId(String compartmentId)
The unique identifier of the compartment.
compartmentId
- the value to setpublic ListingSummary.Builder listingType(ListingType listingType)
The listing type of the Listing.
listingType
- the value to setpublic ListingSummary.Builder name(String name)
The name of the listing.
name
- the value to setpublic ListingSummary.Builder lifecycleState(Listing.LifecycleState lifecycleState)
The current state for the Listing.
lifecycleState
- the value to setpublic ListingSummary.Builder packageType(PackageType packageType)
The package type for the listing.
packageType
- the value to setpublic 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
timeCreated
- the value to setpublic 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
timeUpdated
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic ListingSummary build()
public ListingSummary.Builder copy(ListingSummary model)
Copyright © 2016–2025. All rights reserved.