Class ServiceCatalog.Builder
- java.lang.Object
-
- com.oracle.bmc.servicecatalog.model.ServiceCatalog.Builder
-
- Enclosing class:
- ServiceCatalog
public static class ServiceCatalog.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceCatalog
build()
ServiceCatalog.Builder
compartmentId(String compartmentId)
The Compartment id where the service catalog existsServiceCatalog.Builder
copy(ServiceCatalog model)
ServiceCatalog.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ServiceCatalog.Builder
displayName(String displayName)
The name of the service catalog.ServiceCatalog.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.ServiceCatalog.Builder
id(String id)
The unique identifier for the Service catalog.ServiceCatalog.Builder
lifecycleState(ServiceCatalog.LifecycleState lifecycleState)
The lifecycle state of the service catalog.ServiceCatalog.Builder
timeCreated(Date timeCreated)
The date and time the service catalog was created, expressed in RFC 3339 timestamp format.ServiceCatalog.Builder
timeUpdated(Date timeUpdated)
The date and time the service catalog was last modified, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public ServiceCatalog.Builder id(String id)
The unique identifier for the Service catalog.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public ServiceCatalog.Builder compartmentId(String compartmentId)
The Compartment id where the service catalog exists- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public ServiceCatalog.Builder displayName(String displayName)
The name of the service catalog.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
lifecycleState
public ServiceCatalog.Builder lifecycleState(ServiceCatalog.LifecycleState lifecycleState)
The lifecycle state of the service catalog.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public ServiceCatalog.Builder timeCreated(Date timeCreated)
The date and time the service catalog was created, expressed in RFC 3339 timestamp format.Example: 2021-05-26T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public ServiceCatalog.Builder timeUpdated(Date timeUpdated)
The date and time the service catalog was last modified, expressed in RFC 3339 timestamp format.Example: 2021-12-10T05:10:29.721Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
definedTags
public ServiceCatalog.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
-
freeformTags
public ServiceCatalog.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
-
build
public ServiceCatalog build()
-
copy
public ServiceCatalog.Builder copy(ServiceCatalog model)
-
-