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