Package com.oracle.bmc.mysql.model
Class Channel.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.Channel.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Channel
build()
Channel.Builder
compartmentId(String compartmentId)
The OCID of the compartment.Channel.Builder
copy(Channel model)
Channel.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.Channel.Builder
description(String description)
User provided description of the Channel.Channel.Builder
displayName(String displayName)
The user-friendly name for the Channel.Channel.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair applied without any predefined name, type or scope.Channel.Builder
id(String id)
The OCID of the Channel.Channel.Builder
isEnabled(Boolean isEnabled)
Whether the Channel has been enabled by the user.Channel.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the state of the Channel.Channel.Builder
lifecycleState(Channel.LifecycleState lifecycleState)
The state of the Channel.Channel.Builder
source(ChannelSource source)
Channel.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.Channel.Builder
target(ChannelTarget target)
Channel.Builder
timeCreated(Date timeCreated)
The date and time the Channel was created, as described by RFC 3339.Channel.Builder
timeUpdated(Date timeUpdated)
The time the Channel was last updated, as described by RFC 3339.
-
-
-
Method Detail
-
id
public Channel.Builder id(String id)
The OCID of the Channel.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public Channel.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public 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
-
isEnabled
public Channel.Builder isEnabled(Boolean isEnabled)
Whether the Channel has been enabled by the user.- Parameters:
isEnabled
- the value to set- Returns:
- this builder
-
source
public Channel.Builder source(ChannelSource source)
-
target
public Channel.Builder target(ChannelTarget target)
-
description
public Channel.Builder description(String description)
User provided description of the Channel.- Parameters:
description
- the value to set- Returns:
- this builder
-
lifecycleState
public Channel.Builder lifecycleState(Channel.LifecycleState lifecycleState)
The state of the Channel.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public Channel.Builder lifecycleDetails(String lifecycleDetails)
A message describing the state of the Channel.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeCreated
public 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
-
timeUpdated
public 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
-
freeformTags
public 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
-
definedTags
public 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
-
systemTags
public 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
-
build
public Channel build()
-
copy
public Channel.Builder copy(Channel model)
-
-