Package com.oracle.bmc.oda.model
Class ChannelSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.ChannelSummary.Builder
-
- Enclosing class:
- ChannelSummary
public static class ChannelSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelSummarybuild()ChannelSummary.Buildercategory(ChannelCategory category)The category of the Channel.ChannelSummary.Buildercopy(ChannelSummary model)ChannelSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Usage of predefined tag keys.ChannelSummary.Builderdescription(String description)A short description of the Channel.ChannelSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type, or scope.ChannelSummary.Builderid(String id)Unique immutable identifier that was assigned when the Channel was created.ChannelSummary.BuilderlifecycleState(LifecycleState lifecycleState)The Channel’s current state.ChannelSummary.Buildername(String name)The Channel’s name.ChannelSummary.BuildertimeCreated(Date timeCreated)When the resource was created.ChannelSummary.BuildertimeUpdated(Date timeUpdated)When the resource was last updated.ChannelSummary.Buildertype(ChannelType type)The Channel type.
-
-
-
Method Detail
-
id
public ChannelSummary.Builder id(String id)
Unique immutable identifier that was assigned when the Channel was created.- Parameters:
id- the value to set- Returns:
- this builder
-
name
public ChannelSummary.Builder name(String name)
The Channel’s name.The name can contain only letters, numbers, periods, and underscores. The name must begin with a letter.
- Parameters:
name- the value to set- Returns:
- this builder
-
description
public ChannelSummary.Builder description(String description)
A short description of the Channel.- Parameters:
description- the value to set- Returns:
- this builder
-
category
public ChannelSummary.Builder category(ChannelCategory category)
The category of the Channel.- Parameters:
category- the value to set- Returns:
- this builder
-
type
public ChannelSummary.Builder type(ChannelType type)
The Channel type.- Parameters:
type- the value to set- Returns:
- this builder
-
lifecycleState
public ChannelSummary.Builder lifecycleState(LifecycleState lifecycleState)
The Channel’s current state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public ChannelSummary.Builder timeCreated(Date timeCreated)
When the resource was created.A date-time string as described in RFC 3339, section 14.29.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ChannelSummary.Builder timeUpdated(Date timeUpdated)
When the resource was last updated.A date-time string as described in RFC 3339, section 14.29.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public ChannelSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.Example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public ChannelSummary build()
-
copy
public ChannelSummary.Builder copy(ChannelSummary model)
-
-