Package com.oracle.bmc.datasafe.model
Class DatabaseSecurityConfigSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.DatabaseSecurityConfigSummary.Builder
-
- Enclosing class:
- DatabaseSecurityConfigSummary
public static class DatabaseSecurityConfigSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseSecurityConfigSummarybuild()DatabaseSecurityConfigSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the database security config.DatabaseSecurityConfigSummary.Buildercopy(DatabaseSecurityConfigSummary model)DatabaseSecurityConfigSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DatabaseSecurityConfigSummary.Builderdescription(String description)The description of the database security config.DatabaseSecurityConfigSummary.BuilderdisplayName(String displayName)The display name of the database security config.DatabaseSecurityConfigSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.DatabaseSecurityConfigSummary.Builderid(String id)The OCID of the database security config.DatabaseSecurityConfigSummary.BuilderlifecycleDetails(String lifecycleDetails)Details about the current state of the database security config in Data Safe.DatabaseSecurityConfigSummary.BuilderlifecycleState(DatabaseSecurityConfigLifecycleState lifecycleState)The current state of the database security config.DatabaseSecurityConfigSummary.BuildersqlFirewallConfig(SqlFirewallConfig sqlFirewallConfig)DatabaseSecurityConfigSummary.BuildertargetId(String targetId)The target OCID corresponding to the database security config.DatabaseSecurityConfigSummary.BuildertimeCreated(Date timeCreated)The time that the database security config was created, in the format defined by RFC3339.DatabaseSecurityConfigSummary.BuildertimeLastRefreshed(Date timeLastRefreshed)The last date and time the database security config was refreshed, in the format defined by RFC3339.DatabaseSecurityConfigSummary.BuildertimeUpdated(Date timeUpdated)The date and time the database security configuration was last updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public DatabaseSecurityConfigSummary.Builder id(String id)
The OCID of the database security config.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public DatabaseSecurityConfigSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the database security config.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public DatabaseSecurityConfigSummary.Builder displayName(String displayName)
The display name of the database security config.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public DatabaseSecurityConfigSummary.Builder description(String description)
The description of the database security config.- Parameters:
description- the value to set- Returns:
- this builder
-
targetId
public DatabaseSecurityConfigSummary.Builder targetId(String targetId)
The target OCID corresponding to the database security config.- Parameters:
targetId- the value to set- Returns:
- this builder
-
timeCreated
public DatabaseSecurityConfigSummary.Builder timeCreated(Date timeCreated)
The time that the database security config was created, in the format defined by RFC3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public DatabaseSecurityConfigSummary.Builder timeUpdated(Date timeUpdated)
The date and time the database security configuration was last updated, in the format defined by RFC3339.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
timeLastRefreshed
public DatabaseSecurityConfigSummary.Builder timeLastRefreshed(Date timeLastRefreshed)
The last date and time the database security config was refreshed, in the format defined by RFC3339.- Parameters:
timeLastRefreshed- the value to set- Returns:
- this builder
-
lifecycleState
public DatabaseSecurityConfigSummary.Builder lifecycleState(DatabaseSecurityConfigLifecycleState lifecycleState)
The current state of the database security config.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public DatabaseSecurityConfigSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the database security config in Data Safe.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
sqlFirewallConfig
public DatabaseSecurityConfigSummary.Builder sqlFirewallConfig(SqlFirewallConfig sqlFirewallConfig)
-
freeformTags
public DatabaseSecurityConfigSummary.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 DatabaseSecurityConfigSummary.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
-
build
public DatabaseSecurityConfigSummary build()
-
copy
public DatabaseSecurityConfigSummary.Builder copy(DatabaseSecurityConfigSummary model)
-
-