Package com.oracle.bmc.mysql.model
Class ChannelSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.mysql.model.ChannelSummary.Builder
 
- 
- Enclosing class:
- ChannelSummary
 
 public static class ChannelSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelSummarybuild()ChannelSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.ChannelSummary.Buildercopy(ChannelSummary model)ChannelSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Usage of predefined tag keys.ChannelSummary.BuilderdisplayName(String displayName)The user-friendly name for the Channel.ChannelSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair applied without any predefined name, type or scope.ChannelSummary.Builderid(String id)The OCID of the Channel.ChannelSummary.BuilderisEnabled(Boolean isEnabled)Whether the Channel has been enabled by the user.ChannelSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the state of the Channel.ChannelSummary.BuilderlifecycleState(Channel.LifecycleState lifecycleState)The state of the Channel.ChannelSummary.Buildersource(ChannelSource source)ChannelSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.ChannelSummary.Buildertarget(ChannelTarget target)ChannelSummary.BuildertimeCreated(Date timeCreated)The date and time the Channel was created, as described by RFC 3339.ChannelSummary.BuildertimeUpdated(Date timeUpdated)The time the Channel was last updated, as described by RFC 3339.
 
- 
- 
- 
Method Detail- 
idpublic ChannelSummary.Builder id(String id) The OCID of the Channel.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ChannelSummary.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
isEnabledpublic ChannelSummary.Builder isEnabled(Boolean isEnabled) Whether the Channel has been enabled by the user.- Parameters:
- isEnabled- the value to set
- Returns:
- this builder
 
 - 
sourcepublic ChannelSummary.Builder source(ChannelSource source) 
 - 
targetpublic ChannelSummary.Builder target(ChannelTarget target) 
 - 
lifecycleStatepublic ChannelSummary.Builder lifecycleState(Channel.LifecycleState lifecycleState) The state of the Channel.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic ChannelSummary.Builder lifecycleDetails(String lifecycleDetails) A message describing the state of the Channel.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ChannelSummary.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
 
 - 
timeCreatedpublic ChannelSummary.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 ChannelSummary.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 ChannelSummary.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 ChannelSummary.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 ChannelSummary.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 ChannelSummary build() 
 - 
copypublic ChannelSummary.Builder copy(ChannelSummary model) 
 
- 
 
-