Package com.oracle.bmc.datasafe.model
Class Report.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.Report.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Reportbuild()Report.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the report.Report.Buildercopy(Report model)Report.BuilderdataSource(ReportDefinitionDataSource dataSource)Specifies the name of a resource that provides data for the report.Report.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Report.Builderdescription(String description)Specifies a description of the report.Report.BuilderdisplayName(String displayName)Name of the report.Report.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Report.Builderid(String id)The OCID of the report.Report.BuilderlifecycleDetails(String lifecycleDetails)Details about the current state of the report in Data Safe.Report.BuilderlifecycleState(ReportLifecycleState lifecycleState)The current state of the audit report.Report.BuildermimeType(Report.MimeType mimeType)Specifies the format of report to be .xls or .pdf or .jsonReport.BuilderreportDefinitionId(String reportDefinitionId)The OCID of the report definition.Report.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.Report.BuildertimeCreated(Date timeCreated)Specifies the time at which the report was created.Report.BuildertimeGenerated(Date timeGenerated)Specifies the date and time the report was generated.Report.BuildertimeUpdated(Date timeUpdated)The date and time of the report update in Data Safe.Report.Buildertype(ReportType type)The type of the audit report.
-
-
-
Method Detail
-
id
public Report.Builder id(String id)
The OCID of the report.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public Report.Builder displayName(String displayName)
Name of the report.- Parameters:
displayName- the value to set- Returns:
- this builder
-
reportDefinitionId
public Report.Builder reportDefinitionId(String reportDefinitionId)
The OCID of the report definition.- Parameters:
reportDefinitionId- the value to set- Returns:
- this builder
-
description
public Report.Builder description(String description)
Specifies a description of the report.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public Report.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the report.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
mimeType
public Report.Builder mimeType(Report.MimeType mimeType)
Specifies the format of report to be .xls or .pdf or .json- Parameters:
mimeType- the value to set- Returns:
- this builder
-
timeGenerated
public Report.Builder timeGenerated(Date timeGenerated)
Specifies the date and time the report was generated.- Parameters:
timeGenerated- the value to set- Returns:
- this builder
-
timeCreated
public Report.Builder timeCreated(Date timeCreated)
Specifies the time at which the report was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public Report.Builder timeUpdated(Date timeUpdated)
The date and time of the report update in Data Safe.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public Report.Builder lifecycleState(ReportLifecycleState lifecycleState)
The current state of the audit report.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
type
public Report.Builder type(ReportType type)
The type of the audit report.- Parameters:
type- the value to set- Returns:
- this builder
-
dataSource
public Report.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
-
lifecycleDetails
public Report.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the report in Data Safe.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public Report.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 Report.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
-
systemTags
public Report.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public Report build()
-
copy
public Report.Builder copy(Report model)
-
-