Package com.oracle.bmc.database.model
Class PluggableDatabaseSnapshot.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.PluggableDatabaseSnapshot.Builder
-
- Enclosing class:
- PluggableDatabaseSnapshot
public static class PluggableDatabaseSnapshot.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluggableDatabaseSnapshot
build()
PluggableDatabaseSnapshot.Builder
clusterId(String clusterId)
The OCID of the VM cluster.PluggableDatabaseSnapshot.Builder
compartmentId(String compartmentId)
The OCID of the compartment.PluggableDatabaseSnapshot.Builder
copy(PluggableDatabaseSnapshot model)
PluggableDatabaseSnapshot.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.PluggableDatabaseSnapshot.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.PluggableDatabaseSnapshot.Builder
id(String id)
The OCID of the Exadata Pluggable Database Snapshot.PluggableDatabaseSnapshot.Builder
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state of the Exadata Pluggable Database Snapshot.PluggableDatabaseSnapshot.Builder
lifecycleState(PluggableDatabaseSnapshot.LifecycleState lifecycleState)
The current state of the Exadata Pluggable Database Snapshot.PluggableDatabaseSnapshot.Builder
name(String name)
The user-friendly name for the Database Snapshot.PluggableDatabaseSnapshot.Builder
pluggableDatabaseId(String pluggableDatabaseId)
The OCID of the Exadata Pluggable Database.PluggableDatabaseSnapshot.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.PluggableDatabaseSnapshot.Builder
timeCreated(Date timeCreated)
The date and time that the Exadata Pluggable Database Snapshot was created, as expressed in RFC 3339 format.
-
-
-
Method Detail
-
id
public PluggableDatabaseSnapshot.Builder id(String id)
The OCID of the Exadata Pluggable Database Snapshot.- Parameters:
id
- the value to set- Returns:
- this builder
-
lifecycleState
public PluggableDatabaseSnapshot.Builder lifecycleState(PluggableDatabaseSnapshot.LifecycleState lifecycleState)
The current state of the Exadata Pluggable Database Snapshot.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
name
public PluggableDatabaseSnapshot.Builder name(String name)
The user-friendly name for the Database Snapshot.The name should be unique.
- Parameters:
name
- the value to set- Returns:
- this builder
-
pluggableDatabaseId
public PluggableDatabaseSnapshot.Builder pluggableDatabaseId(String pluggableDatabaseId)
The OCID of the Exadata Pluggable Database.- Parameters:
pluggableDatabaseId
- the value to set- Returns:
- this builder
-
timeCreated
public PluggableDatabaseSnapshot.Builder timeCreated(Date timeCreated)
The date and time that the Exadata Pluggable Database Snapshot was created, as expressed in RFC 3339 format.For example: 2023-06-27T21:10:29Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleDetails
public PluggableDatabaseSnapshot.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state of the Exadata Pluggable Database Snapshot.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public PluggableDatabaseSnapshot.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public PluggableDatabaseSnapshot.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public PluggableDatabaseSnapshot.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
compartmentId
public PluggableDatabaseSnapshot.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
clusterId
public PluggableDatabaseSnapshot.Builder clusterId(String clusterId)
The OCID of the VM cluster.- Parameters:
clusterId
- the value to set- Returns:
- this builder
-
build
public PluggableDatabaseSnapshot build()
-
copy
public PluggableDatabaseSnapshot.Builder copy(PluggableDatabaseSnapshot model)
-
-