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 ChannelSummary
build()
ChannelSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment.ChannelSummary.Builder
copy(ChannelSummary model)
ChannelSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.ChannelSummary.Builder
displayName(String displayName)
The user-friendly name for the Channel.ChannelSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair applied without any predefined name, type or scope.ChannelSummary.Builder
id(String id)
The OCID of the Channel.ChannelSummary.Builder
isEnabled(Boolean isEnabled)
Whether the Channel has been enabled by the user.ChannelSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the state of the Channel.ChannelSummary.Builder
lifecycleState(Channel.LifecycleState lifecycleState)
The state of the Channel.ChannelSummary.Builder
source(ChannelSource source)
ChannelSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.ChannelSummary.Builder
target(ChannelTarget target)
ChannelSummary.Builder
timeCreated(Date timeCreated)
The date and time the Channel was created, as described by RFC 3339.ChannelSummary.Builder
timeUpdated(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)
-
-