Class AnnouncementSubscriptionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.announcementsservice.model.AnnouncementSubscriptionSummary.Builder
-
- Enclosing class:
- AnnouncementSubscriptionSummary
public static class AnnouncementSubscriptionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnouncementSubscriptionSummary
build()
AnnouncementSubscriptionSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the announcement subscription.AnnouncementSubscriptionSummary.Builder
copy(AnnouncementSubscriptionSummary model)
AnnouncementSubscriptionSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.AnnouncementSubscriptionSummary.Builder
displayName(String displayName)
A user-friendly name for the announcement subscription.AnnouncementSubscriptionSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.AnnouncementSubscriptionSummary.Builder
id(String id)
The OCID of the announcement subscription.AnnouncementSubscriptionSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current lifecycle state in more detail.AnnouncementSubscriptionSummary.Builder
lifecycleState(AnnouncementSubscription.LifecycleState lifecycleState)
The current lifecycle state of the announcement subscription.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.AnnouncementSubscriptionSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.AnnouncementSubscriptionSummary.Builder
timeCreated(Date timeCreated)
The date and time that the announcement subscription was created, expressed in RFC 3339 timestamp format.AnnouncementSubscriptionSummary.Builder
timeUpdated(Date timeUpdated)
The date and time that the announcement subscription was updated, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public AnnouncementSubscriptionSummary.Builder id(String id)
The OCID of the announcement subscription.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public 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
-
compartmentId
public AnnouncementSubscriptionSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the announcement subscription.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public 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
-
timeUpdated
public 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
-
lifecycleState
public AnnouncementSubscriptionSummary.Builder lifecycleState(AnnouncementSubscription.LifecycleState lifecycleState)
The current lifecycle state of the announcement subscription.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public 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
-
onsTopicId
public 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
-
freeformTags
public 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
-
definedTags
public 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
-
systemTags
public 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
-
build
public AnnouncementSubscriptionSummary build()
-
copy
public AnnouncementSubscriptionSummary.Builder copy(AnnouncementSubscriptionSummary model)
-
-