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 SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
namepublic NotificationTopicSummary.Builder name(String name) The name of the topic.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
topicIdpublic NotificationTopicSummary.Builder topicId(String topicId) The OCID of the topic.- Parameters:
- topicId- the value to set
- Returns:
- this builder
 
 - 
shortTopicIdpublic 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
 
 - 
compartmentIdpublic NotificationTopicSummary.Builder compartmentId(String compartmentId) The OCID of the compartment for the topic.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic NotificationTopicSummary.Builder lifecycleState(NotificationTopicSummary.LifecycleState lifecycleState) The lifecycle state of the topic.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic NotificationTopicSummary.Builder description(String description) The description of the topic.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic NotificationTopicSummary.Builder timeCreated(Date timeCreated) The time the topic was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
etagpublic NotificationTopicSummary.Builder etag(String etag) For optimistic concurrency control.See if-match. - Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
apiEndpointpublic 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
 
 - 
buildpublic NotificationTopicSummary build() 
 - 
copypublic NotificationTopicSummary.Builder copy(NotificationTopicSummary model) 
 
- 
 
-