Package com.oracle.bmc.database.model
Class DbnodeSnapshot.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.DbnodeSnapshot.Builder
-
- Enclosing class:
- DbnodeSnapshot
public static class DbnodeSnapshot.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbnodeSnapshotbuild()DbnodeSnapshot.BuilderclusterId(String clusterId)The OCID of the VM cluster.DbnodeSnapshot.BuildercompartmentId(String compartmentId)The OCID of the compartment.DbnodeSnapshot.Buildercopy(DbnodeSnapshot model)DbnodeSnapshot.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DbnodeSnapshot.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.DbnodeSnapshot.Builderid(String id)The OCID of the Exadata Database Node Snapshot.DbnodeSnapshot.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state of the Exadata Database Node Snapshot.DbnodeSnapshot.BuilderlifecycleState(DbnodeSnapshot.LifecycleState lifecycleState)The current state of the Exadata Database Node Snapshot.DbnodeSnapshot.BuildermountPoints(List<MountPointDetails> mountPoints)Details of the mount pointsDbnodeSnapshot.Buildername(String name)The user-friendly name for the Database Node Snapshot.DbnodeSnapshot.BuildersourceDbnodeId(String sourceDbnodeId)The OCID of the Exadata Database Node.DbnodeSnapshot.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.DbnodeSnapshot.BuildertimeCreated(Date timeCreated)The date and time that the Exadata Database Node Snapshot was created.DbnodeSnapshot.Buildervolumes(List<VolumeDetails> volumes)Details of the volumes
-
-
-
Method Detail
-
id
public DbnodeSnapshot.Builder id(String id)
The OCID of the Exadata Database Node Snapshot.- Parameters:
id- the value to set- Returns:
- this builder
-
lifecycleState
public DbnodeSnapshot.Builder lifecycleState(DbnodeSnapshot.LifecycleState lifecycleState)
The current state of the Exadata Database Node Snapshot.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
name
public DbnodeSnapshot.Builder name(String name)
The user-friendly name for the Database Node Snapshot.The name should be unique.
- Parameters:
name- the value to set- Returns:
- this builder
-
sourceDbnodeId
public DbnodeSnapshot.Builder sourceDbnodeId(String sourceDbnodeId)
The OCID of the Exadata Database Node.- Parameters:
sourceDbnodeId- the value to set- Returns:
- this builder
-
timeCreated
public DbnodeSnapshot.Builder timeCreated(Date timeCreated)
The date and time that the Exadata Database Node Snapshot was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
lifecycleDetails
public DbnodeSnapshot.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state of the Exadata Database Node Snapshot.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public DbnodeSnapshot.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 DbnodeSnapshot.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 DbnodeSnapshot.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 DbnodeSnapshot.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
clusterId
public DbnodeSnapshot.Builder clusterId(String clusterId)
The OCID of the VM cluster.- Parameters:
clusterId- the value to set- Returns:
- this builder
-
mountPoints
public DbnodeSnapshot.Builder mountPoints(List<MountPointDetails> mountPoints)
Details of the mount points- Parameters:
mountPoints- the value to set- Returns:
- this builder
-
volumes
public DbnodeSnapshot.Builder volumes(List<VolumeDetails> volumes)
Details of the volumes- Parameters:
volumes- the value to set- Returns:
- this builder
-
build
public DbnodeSnapshot build()
-
copy
public DbnodeSnapshot.Builder copy(DbnodeSnapshot model)
-
-