public static class NewsReportSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NewsReportSummary.Builder |
areChildCompartmentsIncluded(Boolean areChildCompartmentsIncluded)
A flag to consider the resources within a given compartment and all sub-compartments.
|
NewsReportSummary |
build() |
NewsReportSummary.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment.
|
NewsReportSummary.Builder |
contentTypes(NewsContentTypes contentTypes) |
NewsReportSummary.Builder |
copy(NewsReportSummary model) |
NewsReportSummary.Builder |
dayOfWeek(DayOfWeek dayOfWeek)
Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
|
NewsReportSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
NewsReportSummary.Builder |
description(String description)
The description of the news report.
|
NewsReportSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
NewsReportSummary.Builder |
id(String id)
The OCID
of the news report resource.
|
NewsReportSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
NewsReportSummary.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the news report.
|
NewsReportSummary.Builder |
locale(NewsLocale locale)
Language of the news report.
|
NewsReportSummary.Builder |
name(String name)
The news report name.
|
NewsReportSummary.Builder |
newsFrequency(NewsFrequency newsFrequency)
News report frequency.
|
NewsReportSummary.Builder |
onsTopicId(String onsTopicId)
The OCID
of the ONS topic.
|
NewsReportSummary.Builder |
status(ResourceStatus status)
Indicates the status of a news report in Ops Insights.
|
NewsReportSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
NewsReportSummary.Builder |
timeCreated(Date timeCreated)
The time the the news report was first enabled.
|
NewsReportSummary.Builder |
timeUpdated(Date timeUpdated)
The time the news report was updated.
|
public NewsReportSummary.Builder newsFrequency(NewsFrequency newsFrequency)
News report frequency.
newsFrequency
- the value to setpublic NewsReportSummary.Builder contentTypes(NewsContentTypes contentTypes)
public NewsReportSummary.Builder locale(NewsLocale locale)
Language of the news report.
locale
- the value to setpublic NewsReportSummary.Builder id(String id)
The OCID of the news report resource.
id
- the value to setpublic NewsReportSummary.Builder description(String description)
The description of the news report.
description
- the value to setpublic NewsReportSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic NewsReportSummary.Builder name(String name)
The news report name.
name
- the value to setpublic NewsReportSummary.Builder onsTopicId(String onsTopicId)
The OCID of the ONS topic.
onsTopicId
- the value to setpublic NewsReportSummary.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 NewsReportSummary.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 NewsReportSummary.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 NewsReportSummary.Builder status(ResourceStatus status)
Indicates the status of a news report in Ops Insights.
status
- the value to setpublic NewsReportSummary.Builder timeCreated(Date timeCreated)
The time the the news report was first enabled. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic NewsReportSummary.Builder timeUpdated(Date timeUpdated)
The time the news report was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic NewsReportSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the news report.
lifecycleState
- the value to setpublic NewsReportSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic NewsReportSummary.Builder dayOfWeek(DayOfWeek dayOfWeek)
Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
dayOfWeek
- the value to setpublic NewsReportSummary.Builder areChildCompartmentsIncluded(Boolean areChildCompartmentsIncluded)
A flag to consider the resources within a given compartment and all sub-compartments.
areChildCompartmentsIncluded
- the value to setpublic NewsReportSummary build()
public NewsReportSummary.Builder copy(NewsReportSummary model)
Copyright © 2016–2024. All rights reserved.