Package com.oracle.bmc.mysql.model
Class CreateChannelDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.CreateChannelDetails.Builder
-
- Enclosing class:
- CreateChannelDetails
public static class CreateChannelDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
compartmentId
public CreateChannelDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public CreateChannelDetails.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 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.
- Parameters:
isEnabled
- the value to set- Returns:
- this builder
-
source
public CreateChannelDetails.Builder source(CreateChannelSourceDetails source)
-
target
public CreateChannelDetails.Builder target(CreateChannelTargetDetails target)
-
description
public CreateChannelDetails.Builder description(String description)
User provided information about the Channel.- Parameters:
description
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public CreateChannelDetails build()
-
copy
public CreateChannelDetails.Builder copy(CreateChannelDetails model)
-
-