Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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 |
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.
|
public Channel.Builder id(String id)
The OCID of the Channel.
id
- the value to setpublic Channel.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic Channel.Builder displayName(String displayName)
The user-friendly name for the Channel. It does not have to be unique.
displayName
- the value to setpublic Channel.Builder isEnabled(Boolean isEnabled)
Whether the Channel has been enabled by the user.
isEnabled
- the value to setpublic Channel.Builder source(ChannelSource source)
public Channel.Builder target(ChannelTarget target)
public Channel.Builder description(String description)
User provided description of the Channel.
description
- the value to setpublic Channel.Builder lifecycleState(Channel.LifecycleState lifecycleState)
The state of the Channel.
lifecycleState
- the value to setpublic Channel.Builder lifecycleDetails(String lifecycleDetails)
A message describing the state of the Channel.
lifecycleDetails
- the value to setpublic Channel.Builder timeCreated(Date timeCreated)
The date and time the Channel was created, as described by RFC 3339.
timeCreated
- the value to setpublic Channel.Builder timeUpdated(Date timeUpdated)
The time the Channel was last updated, as described by RFC 3339.
timeUpdated
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic Channel build()
public Channel.Builder copy(Channel model)
Copyright © 2016–2024. All rights reserved.