public static class ChannelSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ChannelSummary |
build() |
ChannelSummary.Builder |
category(ChannelCategory category)
The category of the Channel.
|
ChannelSummary.Builder |
copy(ChannelSummary model) |
ChannelSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.
|
ChannelSummary.Builder |
description(String description)
A short description of the Channel.
|
ChannelSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
|
ChannelSummary.Builder |
id(String id)
Unique immutable identifier that was assigned when the Channel was created.
|
ChannelSummary.Builder |
lifecycleState(LifecycleState lifecycleState)
The Channel’s current state.
|
ChannelSummary.Builder |
name(String name)
The Channel’s name.
|
ChannelSummary.Builder |
timeCreated(Date timeCreated)
When the resource was created.
|
ChannelSummary.Builder |
timeUpdated(Date timeUpdated)
When the resource was last updated.
|
ChannelSummary.Builder |
type(ChannelType type)
The Channel type.
|
public ChannelSummary.Builder id(String id)
Unique immutable identifier that was assigned when the Channel was created.
id
- the value to setpublic 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.
name
- the value to setpublic ChannelSummary.Builder description(String description)
A short description of the Channel.
description
- the value to setpublic ChannelSummary.Builder category(ChannelCategory category)
The category of the Channel.
category
- the value to setpublic ChannelSummary.Builder type(ChannelType type)
The Channel type.
type
- the value to setpublic ChannelSummary.Builder lifecycleState(LifecycleState lifecycleState)
The Channel’s current state.
lifecycleState
- the value to setpublic ChannelSummary.Builder timeCreated(Date timeCreated)
When the resource was created. A date-time string as described in RFC 3339, section 14.29.
timeCreated
- the value to setpublic ChannelSummary.Builder timeUpdated(Date timeUpdated)
When the resource was last updated. A date-time string as described in RFC 3339, section 14.29.
timeUpdated
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic ChannelSummary build()
public ChannelSummary.Builder copy(ChannelSummary model)
Copyright © 2016–2024. All rights reserved.