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