public static class UpdateChannelDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateChannelDetails |
build() |
UpdateChannelDetails.Builder |
copy(UpdateChannelDetails model) |
UpdateChannelDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.
|
UpdateChannelDetails.Builder |
description(String description)
User provided description of the Channel.
|
UpdateChannelDetails.Builder |
displayName(String displayName)
The user-friendly name for the Channel.
|
UpdateChannelDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair applied without any predefined name, type or scope.
|
UpdateChannelDetails.Builder |
isEnabled(Boolean isEnabled)
Whether the Channel should be enabled or disabled.
|
UpdateChannelDetails.Builder |
source(UpdateChannelSourceDetails source) |
UpdateChannelDetails.Builder |
target(UpdateChannelTargetDetails target) |
public UpdateChannelDetails.Builder source(UpdateChannelSourceDetails source)
public UpdateChannelDetails.Builder target(UpdateChannelTargetDetails target)
public UpdateChannelDetails.Builder displayName(String displayName)
The user-friendly name for the Channel. It does not have to be unique.
displayName
- the value to setpublic UpdateChannelDetails.Builder isEnabled(Boolean isEnabled)
Whether the Channel should be enabled or disabled. Enabling a previously disabled Channel will cause the Channel to be started. Conversely, disabling a previously enabled Channel will stop the Channel. Both operations are executed asynchronously.
isEnabled
- the value to setpublic UpdateChannelDetails.Builder description(String description)
User provided description of the Channel.
description
- the value to setpublic UpdateChannelDetails.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 UpdateChannelDetails.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 UpdateChannelDetails build()
public UpdateChannelDetails.Builder copy(UpdateChannelDetails model)
Copyright © 2016–2024. All rights reserved.