Package com.oracle.bmc.mysql.model
Class Configuration.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.Configuration.Builder
-
- Enclosing class:
- Configuration
public static class Configuration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Configuration
build()
Configuration.Builder
compartmentId(String compartmentId)
OCID of the Compartment the Configuration exists in.Configuration.Builder
copy(Configuration model)
Configuration.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Configuration.Builder
description(String description)
User-provided data about the Configuration.Configuration.Builder
displayName(String displayName)
The display name of the Configuration.Configuration.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Configuration.Builder
id(String id)
The OCID of the Configuration.Configuration.Builder
initVariables(InitializationVariables initVariables)
Configuration.Builder
lifecycleState(Configuration.LifecycleState lifecycleState)
The current state of the Configuration.Configuration.Builder
parentConfigurationId(String parentConfigurationId)
The OCID of the Configuration from which this Configuration is “derived”.Configuration.Builder
shapeName(String shapeName)
The name of the associated Shape.Configuration.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.Configuration.Builder
timeCreated(Date timeCreated)
The date and time the Configuration was created, as described by RFC 3339.Configuration.Builder
timeUpdated(Date timeUpdated)
The date and time the Configuration was last updated, as described by RFC 3339.Configuration.Builder
type(Configuration.Type type)
The Configuration type, DEFAULT or CUSTOM.Configuration.Builder
variables(ConfigurationVariables variables)
-
-
-
Method Detail
-
id
public Configuration.Builder id(String id)
The OCID of the Configuration.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public Configuration.Builder compartmentId(String compartmentId)
OCID of the Compartment the Configuration exists in.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
description
public Configuration.Builder description(String description)
User-provided data about the Configuration.- Parameters:
description
- the value to set- Returns:
- this builder
-
displayName
public Configuration.Builder displayName(String displayName)
The display name of the Configuration.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
shapeName
public Configuration.Builder shapeName(String shapeName)
The name of the associated Shape.- Parameters:
shapeName
- the value to set- Returns:
- this builder
-
type
public Configuration.Builder type(Configuration.Type type)
The Configuration type, DEFAULT or CUSTOM.- Parameters:
type
- the value to set- Returns:
- this builder
-
timeCreated
public Configuration.Builder timeCreated(Date timeCreated)
The date and time the Configuration was created, as described by RFC 3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public Configuration.Builder timeUpdated(Date timeUpdated)
The date and time the Configuration was last updated, as described by RFC 3339.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public Configuration.Builder lifecycleState(Configuration.LifecycleState lifecycleState)
The current state of the Configuration.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
initVariables
public Configuration.Builder initVariables(InitializationVariables initVariables)
-
variables
public Configuration.Builder variables(ConfigurationVariables variables)
-
parentConfigurationId
public Configuration.Builder parentConfigurationId(String parentConfigurationId)
The OCID of the Configuration from which this Configuration is “derived”.This is entirely a metadata relationship. There is no relation between the values in this Configuration and its parent.
- Parameters:
parentConfigurationId
- the value to set- Returns:
- this builder
-
freeformTags
public Configuration.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public Configuration.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public Configuration.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public Configuration build()
-
copy
public Configuration.Builder copy(Configuration model)
-
-