public static class AnnouncementSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public AnnouncementSummary.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic AnnouncementSummary.Builder compartmentId(String compartmentId)
Tenancy OCID
compartmentId
- the value to setpublic AnnouncementSummary.Builder resourceRegion(String resourceRegion)
Associated region
resourceRegion
- the value to setpublic AnnouncementSummary.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
displayName
- the value to setpublic AnnouncementSummary.Builder description(String description)
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
description
- the value to setpublic AnnouncementSummary.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic AnnouncementSummary.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic AnnouncementSummary.Builder type(String type)
Type of announcement.
type
- the value to setpublic AnnouncementSummary.Builder summary(String summary)
Summary of the announcement.
summary
- the value to setpublic AnnouncementSummary.Builder details(String details)
Announcement Details.
details
- the value to setpublic AnnouncementSummary.Builder url(String url)
URL to the announcement.
url
- the value to setpublic AnnouncementSummary.Builder announcementStart(Date announcementStart)
Announcement start date.
announcementStart
- the value to setpublic AnnouncementSummary.Builder announcementEnd(Date announcementEnd)
Announcement end date
announcementEnd
- the value to setpublic AnnouncementSummary.Builder lifecycleState(AnnouncementSummary.LifecycleState lifecycleState)
The lifecycle state of the announcement.
lifecycleState
- the value to setpublic AnnouncementSummary.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 AnnouncementSummary.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 AnnouncementSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic AnnouncementSummary build()
public AnnouncementSummary.Builder copy(AnnouncementSummary model)
Copyright © 2016–2024. All rights reserved.