Package com.oracle.bmc.ons.model
Class NotificationTopicSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.ons.model.NotificationTopicSummary.Builder
-
- Enclosing class:
- NotificationTopicSummary
public static class NotificationTopicSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
name
public NotificationTopicSummary.Builder name(String name)
The name of the topic.- Parameters:
name
- the value to set- Returns:
- this builder
-
topicId
public NotificationTopicSummary.Builder topicId(String topicId)
The OCID of the topic.- Parameters:
topicId
- the value to set- Returns:
- this builder
-
shortTopicId
public NotificationTopicSummary.Builder shortTopicId(String shortTopicId)
A unique short topic Id.This is used only for SMS subscriptions.
- Parameters:
shortTopicId
- the value to set- Returns:
- this builder
-
compartmentId
public NotificationTopicSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment for the topic.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
lifecycleState
public NotificationTopicSummary.Builder lifecycleState(NotificationTopicSummary.LifecycleState lifecycleState)
The lifecycle state of the topic.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
description
public NotificationTopicSummary.Builder description(String description)
The description of the topic.- Parameters:
description
- the value to set- Returns:
- this builder
-
timeCreated
public NotificationTopicSummary.Builder timeCreated(Date timeCreated)
The time the topic was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
etag
public NotificationTopicSummary.Builder etag(String etag)
For optimistic concurrency control.See if-match.
- Parameters:
etag
- the value to set- Returns:
- this builder
-
freeformTags
public NotificationTopicSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public NotificationTopicSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
apiEndpoint
public NotificationTopicSummary.Builder apiEndpoint(String apiEndpoint)
The endpoint for managing subscriptions or publishing messages to the topic.- Parameters:
apiEndpoint
- the value to set- Returns:
- this builder
-
build
public NotificationTopicSummary build()
-
copy
public NotificationTopicSummary.Builder copy(NotificationTopicSummary model)
-
-