Package com.oracle.bmc.datasafe.model
Class TargetDatabaseGroupSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.TargetDatabaseGroupSummary.Builder
-
- Enclosing class:
- TargetDatabaseGroupSummary
public static class TargetDatabaseGroupSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetDatabaseGroupSummary
build()
TargetDatabaseGroupSummary.Builder
compartmentId(String compartmentId)
The OCID for the compartment containing the target database group.TargetDatabaseGroupSummary.Builder
copy(TargetDatabaseGroupSummary model)
TargetDatabaseGroupSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.TargetDatabaseGroupSummary.Builder
description(String description)
Description of the target database group.TargetDatabaseGroupSummary.Builder
displayName(String displayName)
The name of the target database group.TargetDatabaseGroupSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.TargetDatabaseGroupSummary.Builder
id(String id)
The OCID of the specified target database group.TargetDatabaseGroupSummary.Builder
lifecycleDetails(String lifecycleDetails)
Details for the lifecycle status of the target database group.TargetDatabaseGroupSummary.Builder
lifecycleState(TargetDatabaseGroupLifecycleState lifecycleState)
The lifecycle status of the target database group.TargetDatabaseGroupSummary.Builder
membershipCount(Integer membershipCount)
The number of target databases in the specified target database group.TargetDatabaseGroupSummary.Builder
membershipUpdateTime(Date membershipUpdateTime)
Time when the members of the target database group were last changed, i.e.TargetDatabaseGroupSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.TargetDatabaseGroupSummary.Builder
timeCreated(Date timeCreated)
Time when the target database group was created.TargetDatabaseGroupSummary.Builder
timeUpdated(Date timeUpdated)
Time when the target database group was last updated.
-
-
-
Method Detail
-
compartmentId
public TargetDatabaseGroupSummary.Builder compartmentId(String compartmentId)
The OCID for the compartment containing the target database group.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
id
public TargetDatabaseGroupSummary.Builder id(String id)
The OCID of the specified target database group.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public TargetDatabaseGroupSummary.Builder displayName(String displayName)
The name of the target database group.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public TargetDatabaseGroupSummary.Builder description(String description)
Description of the target database group.- Parameters:
description
- the value to set- Returns:
- this builder
-
lifecycleState
public TargetDatabaseGroupSummary.Builder lifecycleState(TargetDatabaseGroupLifecycleState lifecycleState)
The lifecycle status of the target database group.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public TargetDatabaseGroupSummary.Builder lifecycleDetails(String lifecycleDetails)
Details for the lifecycle status of the target database group.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeCreated
public TargetDatabaseGroupSummary.Builder timeCreated(Date timeCreated)
Time when the target database group was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public TargetDatabaseGroupSummary.Builder timeUpdated(Date timeUpdated)
Time when the target database group was last updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
membershipUpdateTime
public TargetDatabaseGroupSummary.Builder membershipUpdateTime(Date membershipUpdateTime)
Time when the members of the target database group were last changed, i.e.the list was refreshed, a target database was added or removed.
- Parameters:
membershipUpdateTime
- the value to set- Returns:
- this builder
-
membershipCount
public TargetDatabaseGroupSummary.Builder membershipCount(Integer membershipCount)
The number of target databases in the specified target database group.- Parameters:
membershipCount
- the value to set- Returns:
- this builder
-
freeformTags
public TargetDatabaseGroupSummary.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 TargetDatabaseGroupSummary.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 Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public TargetDatabaseGroupSummary.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. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public TargetDatabaseGroupSummary build()
-
copy
public TargetDatabaseGroupSummary.Builder copy(TargetDatabaseGroupSummary model)
-
-