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