public static class CreateChannelDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateChannelDetails |
build() |
CreateChannelDetails.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
CreateChannelDetails.Builder |
copy(CreateChannelDetails model) |
CreateChannelDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.
|
CreateChannelDetails.Builder |
description(String description)
User provided information about the Channel.
|
CreateChannelDetails.Builder |
displayName(String displayName)
The user-friendly name for the Channel.
|
CreateChannelDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair applied without any predefined name, type or scope.
|
CreateChannelDetails.Builder |
isEnabled(Boolean isEnabled)
Whether the Channel should be enabled upon creation.
|
CreateChannelDetails.Builder |
source(CreateChannelSourceDetails source) |
CreateChannelDetails.Builder |
target(CreateChannelTargetDetails target) |
public CreateChannelDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic CreateChannelDetails.Builder displayName(String displayName)
The user-friendly name for the Channel. It does not have to be unique.
displayName
- the value to setpublic CreateChannelDetails.Builder isEnabled(Boolean isEnabled)
Whether the Channel should be enabled upon creation. If set to true, the Channel will be asynchronously started as a result of the create Channel operation.
isEnabled
- the value to setpublic CreateChannelDetails.Builder source(CreateChannelSourceDetails source)
public CreateChannelDetails.Builder target(CreateChannelTargetDetails target)
public CreateChannelDetails.Builder description(String description)
User provided information about the Channel.
description
- the value to setpublic CreateChannelDetails.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 CreateChannelDetails.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 CreateChannelDetails build()
public CreateChannelDetails.Builder copy(CreateChannelDetails model)
Copyright © 2016–2024. All rights reserved.