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 Configurationbuild()Configuration.BuildercompartmentId(String compartmentId)OCID of the Compartment the Configuration exists in.Configuration.Buildercopy(Configuration model)Configuration.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Configuration.Builderdescription(String description)User-provided data about the Configuration.Configuration.BuilderdisplayName(String displayName)The display name of the Configuration.Configuration.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.Configuration.Builderid(String id)The OCID of the Configuration.Configuration.BuilderinitVariables(InitializationVariables initVariables)Configuration.BuilderlifecycleState(Configuration.LifecycleState lifecycleState)The current state of the Configuration.Configuration.BuilderparentConfigurationId(String parentConfigurationId)The OCID of the Configuration from which this Configuration is “derived”.Configuration.BuildershapeName(String shapeName)The name of the associated Shape.Configuration.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.Configuration.BuildertimeCreated(Date timeCreated)The date and time the Configuration was created, as described by RFC 3339.Configuration.BuildertimeUpdated(Date timeUpdated)The date and time the Configuration was last updated, as described by RFC 3339.Configuration.Buildertype(Configuration.Type type)The Configuration type, DEFAULT or CUSTOM.Configuration.Buildervariables(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)
-
-