Package com.oracle.bmc.database.model
Class DatabaseSnapshotSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.DatabaseSnapshotSummary.Builder
-
- Enclosing class:
- DatabaseSnapshotSummary
public static class DatabaseSnapshotSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseSnapshotSummarybuild()DatabaseSnapshotSummary.BuilderclusterId(String clusterId)The OCID of the VM cluster.DatabaseSnapshotSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.DatabaseSnapshotSummary.Buildercopy(DatabaseSnapshotSummary model)DatabaseSnapshotSummary.BuilderdatabaseId(String databaseId)The OCID of the Exadata Database.DatabaseSnapshotSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DatabaseSnapshotSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.DatabaseSnapshotSummary.Builderid(String id)The OCID of the Exadata Database Snapshot.DatabaseSnapshotSummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state of the Exadata Database Snapshot.DatabaseSnapshotSummary.BuilderlifecycleState(DatabaseSnapshot.LifecycleState lifecycleState)The current state of the Exadata Database Snapshot.DatabaseSnapshotSummary.Buildername(String name)The user-friendly name for the Database Snapshot.DatabaseSnapshotSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.DatabaseSnapshotSummary.BuildertimeCreated(Date timeCreated)The date and time that the Exadata Database Snapshot was created, as expressed in RFC 3339 format.
-
-
-
Method Detail
-
id
public DatabaseSnapshotSummary.Builder id(String id)
The OCID of the Exadata Database Snapshot.- Parameters:
id- the value to set- Returns:
- this builder
-
databaseId
public DatabaseSnapshotSummary.Builder databaseId(String databaseId)
The OCID of the Exadata Database.- Parameters:
databaseId- the value to set- Returns:
- this builder
-
lifecycleState
public DatabaseSnapshotSummary.Builder lifecycleState(DatabaseSnapshot.LifecycleState lifecycleState)
The current state of the Exadata Database Snapshot.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
name
public DatabaseSnapshotSummary.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
-
timeCreated
public DatabaseSnapshotSummary.Builder timeCreated(Date timeCreated)
The date and time that the Exadata 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 DatabaseSnapshotSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state of the Exadata Database Snapshot.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public DatabaseSnapshotSummary.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 DatabaseSnapshotSummary.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 DatabaseSnapshotSummary.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 DatabaseSnapshotSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
clusterId
public DatabaseSnapshotSummary.Builder clusterId(String clusterId)
The OCID of the VM cluster.- Parameters:
clusterId- the value to set- Returns:
- this builder
-
build
public DatabaseSnapshotSummary build()
-
copy
public DatabaseSnapshotSummary.Builder copy(DatabaseSnapshotSummary model)
-
-