Package com.oracle.bmc.mysql.model
Class UpdateChannelDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.UpdateChannelDetails.Builder
-
- Enclosing class:
- UpdateChannelDetails
public static class UpdateChannelDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateChannelDetailsbuild()UpdateChannelDetails.Buildercopy(UpdateChannelDetails model)UpdateChannelDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Usage of predefined tag keys.UpdateChannelDetails.Builderdescription(String description)User provided description of the Channel.UpdateChannelDetails.BuilderdisplayName(String displayName)The user-friendly name for the Channel.UpdateChannelDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair applied without any predefined name, type or scope.UpdateChannelDetails.BuilderisEnabled(Boolean isEnabled)Whether the Channel should be enabled or disabled.UpdateChannelDetails.Buildersource(UpdateChannelSourceDetails source)UpdateChannelDetails.Buildertarget(UpdateChannelTargetDetails target)
-
-
-
Method Detail
-
source
public UpdateChannelDetails.Builder source(UpdateChannelSourceDetails source)
-
target
public UpdateChannelDetails.Builder target(UpdateChannelTargetDetails target)
-
displayName
public UpdateChannelDetails.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
-
isEnabled
public 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.
- Parameters:
isEnabled- the value to set- Returns:
- this builder
-
description
public UpdateChannelDetails.Builder description(String description)
User provided description of the Channel.- Parameters:
description- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public UpdateChannelDetails build()
-
copy
public UpdateChannelDetails.Builder copy(UpdateChannelDetails model)
-
-