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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
idpublic 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
 
 - 
namepublic 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
 
 - 
descriptionpublic ChannelSummary.Builder description(String description) A short description of the Channel.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
categorypublic ChannelSummary.Builder category(ChannelCategory category) The category of the Channel.- Parameters:
- category- the value to set
- Returns:
- this builder
 
 - 
typepublic ChannelSummary.Builder type(ChannelType type) The Channel type.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ChannelSummary.Builder lifecycleState(LifecycleState lifecycleState) The Channel’s current state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
buildpublic ChannelSummary build() 
 - 
copypublic ChannelSummary.Builder copy(ChannelSummary model) 
 
- 
 
-