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