Class ReportDefinitionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.ReportDefinitionSummary.Builder
-
- Enclosing class:
- ReportDefinitionSummary
public static class ReportDefinitionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportDefinitionSummarybuild()ReportDefinitionSummary.Buildercategory(ReportDefinitionSummary.Category category)Specifies the name of the category that this report belongs to.ReportDefinitionSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the report definition.ReportDefinitionSummary.BuildercomplianceStandards(List<String> complianceStandards)The list of data protection regulations/standards used in the report that will help demonstrate compliance.ReportDefinitionSummary.Buildercopy(ReportDefinitionSummary model)ReportDefinitionSummary.BuilderdataSource(ReportDefinitionDataSource dataSource)Specifies the name of a resource that provides data for the report.ReportDefinitionSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ReportDefinitionSummary.Builderdescription(String description)A description of the report definition.ReportDefinitionSummary.BuilderdisplayName(String displayName)Name of the report definition.ReportDefinitionSummary.BuilderdisplayOrder(Integer displayOrder)Specifies how the report definitions are ordered in the display.ReportDefinitionSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ReportDefinitionSummary.Builderid(String id)The OCID of the report definition.ReportDefinitionSummary.BuilderisSeeded(Boolean isSeeded)Signifies whether the definition is seeded or user defined.ReportDefinitionSummary.BuilderlifecycleState(ReportDefinitionLifecycleState lifecycleState)The current state of the audit report.ReportDefinitionSummary.Builderschedule(String schedule)The schedule to generate the report periodically in the specified format:; ReportDefinitionSummary.BuildertimeCreated(Date timeCreated)Specifies the time at which the report definition was created.ReportDefinitionSummary.BuildertimeUpdated(Date timeUpdated)The date and time of the report definition update in Data Safe.
-
-
-
Method Detail
-
displayName
public ReportDefinitionSummary.Builder displayName(String displayName)
Name of the report definition.- Parameters:
displayName- the value to set- Returns:
- this builder
-
id
public ReportDefinitionSummary.Builder id(String id)
The OCID of the report definition.- Parameters:
id- the value to set- Returns:
- this builder
-
category
public ReportDefinitionSummary.Builder category(ReportDefinitionSummary.Category category)
Specifies the name of the category that this report belongs to.- Parameters:
category- the value to set- Returns:
- this builder
-
description
public ReportDefinitionSummary.Builder description(String description)
A description of the report definition.- Parameters:
description- the value to set- Returns:
- this builder
-
isSeeded
public ReportDefinitionSummary.Builder isSeeded(Boolean isSeeded)
Signifies whether the definition is seeded or user defined.Values can either be ‘true’ or ‘false’.
- Parameters:
isSeeded- the value to set- Returns:
- this builder
-
displayOrder
public ReportDefinitionSummary.Builder displayOrder(Integer displayOrder)
Specifies how the report definitions are ordered in the display.- Parameters:
displayOrder- the value to set- Returns:
- this builder
-
timeCreated
public ReportDefinitionSummary.Builder timeCreated(Date timeCreated)
Specifies the time at which the report definition was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ReportDefinitionSummary.Builder timeUpdated(Date timeUpdated)
The date and time of the report definition update in Data Safe.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
compartmentId
public ReportDefinitionSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the report definition.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
dataSource
public ReportDefinitionSummary.Builder dataSource(ReportDefinitionDataSource dataSource)
Specifies the name of a resource that provides data for the report.For example alerts, events.
- Parameters:
dataSource- the value to set- Returns:
- this builder
-
lifecycleState
public ReportDefinitionSummary.Builder lifecycleState(ReportDefinitionLifecycleState lifecycleState)
The current state of the audit report.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
schedule
public ReportDefinitionSummary.Builder schedule(String schedule)
The schedule to generate the report periodically in the specified format:; Allowed version strings - "v1" v1's version specific schedule -
Each of the above fields potentially introduce constraints. A work request is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) 4. can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday)) No constraint introduced when it is '*'. When not, day of week must equal the given value. 5. can be either '*' (without quotes or a number between 1 and 28) No constraint introduced when it is '*'. When not, day of month must equal the given value - Parameters:
schedule- the value to set- Returns:
- this builder
-
complianceStandards
public ReportDefinitionSummary.Builder complianceStandards(List<String> complianceStandards)
The list of data protection regulations/standards used in the report that will help demonstrate compliance.- Parameters:
complianceStandards- the value to set- Returns:
- this builder
-
freeformTags
public ReportDefinitionSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public ReportDefinitionSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public ReportDefinitionSummary build()
-
copy
public ReportDefinitionSummary.Builder copy(ReportDefinitionSummary model)
-
-