public static class NotificationTopic.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NotificationTopic.Builder |
apiEndpoint(String apiEndpoint)
The endpoint for managing subscriptions or publishing messages to the topic.
|
NotificationTopic |
build() |
NotificationTopic.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment for the topic.
|
NotificationTopic.Builder |
copy(NotificationTopic model) |
NotificationTopic.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
NotificationTopic.Builder |
description(String description)
The description of the topic.
|
NotificationTopic.Builder |
etag(String etag)
For optimistic concurrency control.
|
NotificationTopic.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
NotificationTopic.Builder |
lifecycleState(NotificationTopic.LifecycleState lifecycleState)
The lifecycle state of the topic.
|
NotificationTopic.Builder |
name(String name)
The name of the topic.
|
NotificationTopic.Builder |
shortTopicId(String shortTopicId)
A unique short topic Id.
|
NotificationTopic.Builder |
timeCreated(Date timeCreated)
The time the topic was created.
|
NotificationTopic.Builder |
topicId(String topicId)
The OCID
of the topic.
|
public NotificationTopic.Builder name(String name)
The name of the topic.
name
- the value to setpublic NotificationTopic.Builder topicId(String topicId)
The OCID of the topic.
topicId
- the value to setpublic NotificationTopic.Builder shortTopicId(String shortTopicId)
A unique short topic Id. This is used only for SMS subscriptions.
shortTopicId
- the value to setpublic NotificationTopic.Builder compartmentId(String compartmentId)
The OCID of the compartment for the topic.
compartmentId
- the value to setpublic NotificationTopic.Builder lifecycleState(NotificationTopic.LifecycleState lifecycleState)
The lifecycle state of the topic.
lifecycleState
- the value to setpublic NotificationTopic.Builder description(String description)
The description of the topic.
description
- the value to setpublic NotificationTopic.Builder timeCreated(Date timeCreated)
The time the topic was created.
timeCreated
- the value to setpublic NotificationTopic.Builder etag(String etag)
For optimistic concurrency control. See if-match
.
etag
- the value to setpublic NotificationTopic.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"}
freeformTags
- the value to setpublic NotificationTopic.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"}}
definedTags
- the value to setpublic NotificationTopic.Builder apiEndpoint(String apiEndpoint)
The endpoint for managing subscriptions or publishing messages to the topic.
apiEndpoint
- the value to setpublic NotificationTopic build()
public NotificationTopic.Builder copy(NotificationTopic model)
Copyright © 2016–2024. All rights reserved.