public static class CreateNewsReportDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateNewsReportDetails.Builder |
areChildCompartmentsIncluded(Boolean areChildCompartmentsIncluded)
A flag to consider the resources within a given compartment and all sub-compartments.
|
CreateNewsReportDetails |
build() |
CreateNewsReportDetails.Builder |
compartmentId(String compartmentId)
Compartment Identifier where the news report will be created.
|
CreateNewsReportDetails.Builder |
contentTypes(NewsContentTypes contentTypes) |
CreateNewsReportDetails.Builder |
copy(CreateNewsReportDetails model) |
CreateNewsReportDetails.Builder |
dayOfWeek(DayOfWeek dayOfWeek)
Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
|
CreateNewsReportDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateNewsReportDetails.Builder |
description(String description)
The description of the news report.
|
CreateNewsReportDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateNewsReportDetails.Builder |
locale(NewsLocale locale)
Language of the news report.
|
CreateNewsReportDetails.Builder |
name(String name)
The news report name.
|
CreateNewsReportDetails.Builder |
newsFrequency(NewsFrequency newsFrequency)
News report frequency.
|
CreateNewsReportDetails.Builder |
onsTopicId(String onsTopicId)
The OCID
of the ONS topic.
|
CreateNewsReportDetails.Builder |
status(ResourceStatus status)
Defines if the news report will be enabled or disabled.
|
public CreateNewsReportDetails.Builder name(String name)
The news report name.
name
- the value to setpublic CreateNewsReportDetails.Builder newsFrequency(NewsFrequency newsFrequency)
News report frequency.
newsFrequency
- the value to setpublic CreateNewsReportDetails.Builder description(String description)
The description of the news report.
description
- the value to setpublic CreateNewsReportDetails.Builder onsTopicId(String onsTopicId)
The OCID of the ONS topic.
onsTopicId
- the value to setpublic CreateNewsReportDetails.Builder compartmentId(String compartmentId)
Compartment Identifier where the news report will be created.
compartmentId
- the value to setpublic CreateNewsReportDetails.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 CreateNewsReportDetails.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 CreateNewsReportDetails.Builder contentTypes(NewsContentTypes contentTypes)
public CreateNewsReportDetails.Builder locale(NewsLocale locale)
Language of the news report.
locale
- the value to setpublic CreateNewsReportDetails.Builder status(ResourceStatus status)
Defines if the news report will be enabled or disabled.
status
- the value to setpublic CreateNewsReportDetails.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 CreateNewsReportDetails.Builder areChildCompartmentsIncluded(Boolean areChildCompartmentsIncluded)
A flag to consider the resources within a given compartment and all sub-compartments.
areChildCompartmentsIncluded
- the value to setpublic CreateNewsReportDetails build()
public CreateNewsReportDetails.Builder copy(CreateNewsReportDetails model)
Copyright © 2016–2024. All rights reserved.