Package com.oracle.bmc.mysql.model
Class Channel.Builder
- java.lang.Object
- 
- com.oracle.bmc.mysql.model.Channel.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Channelbuild()Channel.BuildercompartmentId(String compartmentId)The OCID of the compartment.Channel.Buildercopy(Channel model)Channel.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Usage of predefined tag keys.Channel.Builderdescription(String description)User provided description of the Channel.Channel.BuilderdisplayName(String displayName)The user-friendly name for the Channel.Channel.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair applied without any predefined name, type or scope.Channel.Builderid(String id)The OCID of the Channel.Channel.BuilderisEnabled(Boolean isEnabled)Whether the Channel has been enabled by the user.Channel.BuilderlifecycleDetails(String lifecycleDetails)A message describing the state of the Channel.Channel.BuilderlifecycleState(Channel.LifecycleState lifecycleState)The state of the Channel.Channel.Buildersource(ChannelSource source)Channel.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.Channel.Buildertarget(ChannelTarget target)Channel.BuildertimeCreated(Date timeCreated)The date and time the Channel was created, as described by RFC 3339.Channel.BuildertimeUpdated(Date timeUpdated)The time the Channel was last updated, as described by RFC 3339.
 
- 
- 
- 
Method Detail- 
idpublic Channel.Builder id(String id) The OCID of the Channel.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Channel.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Channel.Builder displayName(String displayName) The user-friendly name for the Channel.It does not have to be unique. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
isEnabledpublic Channel.Builder isEnabled(Boolean isEnabled) Whether the Channel has been enabled by the user.- Parameters:
- isEnabled- the value to set
- Returns:
- this builder
 
 - 
sourcepublic Channel.Builder source(ChannelSource source) 
 - 
targetpublic Channel.Builder target(ChannelTarget target) 
 - 
descriptionpublic Channel.Builder description(String description) User provided description of the Channel.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Channel.Builder lifecycleState(Channel.LifecycleState lifecycleState) The state of the Channel.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic Channel.Builder lifecycleDetails(String lifecycleDetails) A message describing the state of the Channel.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Channel.Builder timeCreated(Date timeCreated) The date and time the Channel was created, as described by RFC 3339.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic Channel.Builder timeUpdated(Date timeUpdated) The time the Channel was last updated, as described by RFC 3339.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic Channel.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair 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
 
 - 
definedTagspublic Channel.Builder definedTags(Map<String,Map<String,Object>> definedTags) Usage of predefined tag keys.These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic Channel.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
 
 - 
buildpublic Channel build() 
 - 
copypublic Channel.Builder copy(Channel model) 
 
- 
 
-