public static class AnnouncementSubscriptionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public AnnouncementSubscriptionSummary.Builder id(String id)
The OCID of the announcement subscription.
id
- the value to setpublic 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.
displayName
- the value to setpublic AnnouncementSubscriptionSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the announcement subscription.
compartmentId
- the value to setpublic AnnouncementSubscriptionSummary.Builder timeCreated(Date timeCreated)
The date and time that the announcement subscription was created, expressed in RFC 3339 timestamp format.
timeCreated
- the value to setpublic AnnouncementSubscriptionSummary.Builder timeUpdated(Date timeUpdated)
The date and time that the announcement subscription was updated, expressed in RFC 3339 timestamp format.
timeUpdated
- the value to setpublic AnnouncementSubscriptionSummary.Builder lifecycleState(AnnouncementSubscription.LifecycleState lifecycleState)
The current lifecycle state of the announcement subscription.
lifecycleState
- the value to setpublic 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.
lifecycleDetails
- the value to setpublic 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.
onsTopicId
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic AnnouncementSubscriptionSummary build()
public AnnouncementSubscriptionSummary.Builder copy(AnnouncementSubscriptionSummary model)
Copyright © 2016–2024. All rights reserved.