Class AnnouncementSubscriptionSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.announcementsservice.model.AnnouncementSubscriptionSummary.Builder
 
- 
- Enclosing class:
- AnnouncementSubscriptionSummary
 
 public static class AnnouncementSubscriptionSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnouncementSubscriptionSummarybuild()AnnouncementSubscriptionSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the announcement subscription.AnnouncementSubscriptionSummary.Buildercopy(AnnouncementSubscriptionSummary model)AnnouncementSubscriptionSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.AnnouncementSubscriptionSummary.BuilderdisplayName(String displayName)A user-friendly name for the announcement subscription.AnnouncementSubscriptionSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.AnnouncementSubscriptionSummary.Builderid(String id)The OCID of the announcement subscription.AnnouncementSubscriptionSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current lifecycle state in more detail.AnnouncementSubscriptionSummary.BuilderlifecycleState(AnnouncementSubscription.LifecycleState lifecycleState)The current lifecycle state of the announcement subscription.AnnouncementSubscriptionSummary.BuilderonsTopicId(String onsTopicId)The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription.AnnouncementSubscriptionSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.AnnouncementSubscriptionSummary.BuildertimeCreated(Date timeCreated)The date and time that the announcement subscription was created, expressed in RFC 3339 timestamp format.AnnouncementSubscriptionSummary.BuildertimeUpdated(Date timeUpdated)The date and time that the announcement subscription was updated, expressed in RFC 3339 timestamp format.
 
- 
- 
- 
Method Detail- 
idpublic AnnouncementSubscriptionSummary.Builder id(String id) The OCID of the announcement subscription.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic AnnouncementSubscriptionSummary.Builder displayName(String displayName) A user-friendly name for the announcement subscription.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic AnnouncementSubscriptionSummary.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the announcement subscription.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic AnnouncementSubscriptionSummary.Builder timeCreated(Date timeCreated) The date and time that the announcement subscription was created, expressed in RFC 3339 timestamp format.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic AnnouncementSubscriptionSummary.Builder timeUpdated(Date timeUpdated) The date and time that the announcement subscription was updated, expressed in RFC 3339 timestamp format.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic AnnouncementSubscriptionSummary.Builder lifecycleState(AnnouncementSubscription.LifecycleState lifecycleState) The current lifecycle state of the announcement subscription.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic AnnouncementSubscriptionSummary.Builder lifecycleDetails(String lifecycleDetails) A message describing the current lifecycle state in more detail.For example, details might provide required or recommended actions for a resource in a Failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
onsTopicIdpublic AnnouncementSubscriptionSummary.Builder onsTopicId(String onsTopicId) The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription.- Parameters:
- onsTopicId- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic AnnouncementSubscriptionSummary.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic AnnouncementSubscriptionSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic AnnouncementSubscriptionSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic AnnouncementSubscriptionSummary build() 
 - 
copypublic AnnouncementSubscriptionSummary.Builder copy(AnnouncementSubscriptionSummary model) 
 
- 
 
-