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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
id
public ChannelSummary.Builder id(String id)
The OCID of the Channel.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public ChannelSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
isEnabled
public ChannelSummary.Builder isEnabled(Boolean isEnabled)
Whether the Channel has been enabled by the user.- Parameters:
isEnabled- the value to set- Returns:
- this builder
-
source
public ChannelSummary.Builder source(ChannelSource source)
-
target
public ChannelSummary.Builder target(ChannelTarget target)
-
lifecycleState
public ChannelSummary.Builder lifecycleState(Channel.LifecycleState lifecycleState)
The state of the Channel.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ChannelSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the state of the Channel.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
displayName
public 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
-
timeCreated
public 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
-
timeUpdated
public 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
-
freeformTags
public 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
-
definedTags
public 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
-
systemTags
public 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
-
build
public ChannelSummary build()
-
copy
public ChannelSummary.Builder copy(ChannelSummary model)
-
-