Package com.oracle.bmc.ons.model
Class NotificationTopic.Builder
- java.lang.Object
- 
- com.oracle.bmc.ons.model.NotificationTopic.Builder
 
- 
- Enclosing class:
- NotificationTopic
 
 public static class NotificationTopic.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationTopic.BuilderapiEndpoint(String apiEndpoint)The endpoint for managing subscriptions or publishing messages to the topic.NotificationTopicbuild()NotificationTopic.BuildercompartmentId(String compartmentId)The OCID of the compartment for the topic.NotificationTopic.Buildercopy(NotificationTopic model)NotificationTopic.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.NotificationTopic.Builderdescription(String description)The description of the topic.NotificationTopic.Builderetag(String etag)For optimistic concurrency control.NotificationTopic.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.NotificationTopic.BuilderlifecycleState(NotificationTopic.LifecycleState lifecycleState)The lifecycle state of the topic.NotificationTopic.Buildername(String name)The name of the topic.NotificationTopic.BuildershortTopicId(String shortTopicId)A unique short topic Id.NotificationTopic.BuildertimeCreated(Date timeCreated)The time the topic was created.NotificationTopic.BuildertopicId(String topicId)The OCID of the topic.
 
- 
- 
- 
Method Detail- 
namepublic NotificationTopic.Builder name(String name) The name of the topic.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
topicIdpublic NotificationTopic.Builder topicId(String topicId) The OCID of the topic.- Parameters:
- topicId- the value to set
- Returns:
- this builder
 
 - 
shortTopicIdpublic NotificationTopic.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
 
 - 
compartmentIdpublic NotificationTopic.Builder compartmentId(String compartmentId) The OCID of the compartment for the topic.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic NotificationTopic.Builder lifecycleState(NotificationTopic.LifecycleState lifecycleState) The lifecycle state of the topic.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic NotificationTopic.Builder description(String description) The description of the topic.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic NotificationTopic.Builder timeCreated(Date timeCreated) The time the topic was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
etagpublic NotificationTopic.Builder etag(String etag) For optimistic concurrency control.See if-match. - Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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"}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
apiEndpointpublic NotificationTopic.Builder apiEndpoint(String apiEndpoint) The endpoint for managing subscriptions or publishing messages to the topic.- Parameters:
- apiEndpoint- the value to set
- Returns:
- this builder
 
 - 
buildpublic NotificationTopic build() 
 - 
copypublic NotificationTopic.Builder copy(NotificationTopic model) 
 
- 
 
-