Package com.oracle.bmc.datasafe.model
Class ReportSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.ReportSummary.Builder
-
- Enclosing class:
- ReportSummary
public static class ReportSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportSummarybuild()ReportSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the report.ReportSummary.Buildercopy(ReportSummary model)ReportSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ReportSummary.Builderdescription(String description)Description of the report.ReportSummary.BuilderdisplayName(String displayName)Name of the report.ReportSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ReportSummary.Builderid(String id)The OCID of the report.ReportSummary.BuilderlifecycleState(ReportLifecycleState lifecycleState)The current state of the report.ReportSummary.BuildermimeType(ReportSummary.MimeType mimeType)Specifies the format of report to be .xls or .pdf or .json.ReportSummary.BuilderreportDefinitionId(String reportDefinitionId)The OCID of the report definition.ReportSummary.BuildertimeGenerated(Date timeGenerated)Specifies the time at which the report was generated.ReportSummary.Buildertype(ReportType type)The type of the report.
-
-
-
Method Detail
-
displayName
public ReportSummary.Builder displayName(String displayName)
Name of the report.- Parameters:
displayName- the value to set- Returns:
- this builder
-
id
public ReportSummary.Builder id(String id)
The OCID of the report.- Parameters:
id- the value to set- Returns:
- this builder
-
reportDefinitionId
public ReportSummary.Builder reportDefinitionId(String reportDefinitionId)
The OCID of the report definition.- Parameters:
reportDefinitionId- the value to set- Returns:
- this builder
-
description
public ReportSummary.Builder description(String description)
Description of the report.- Parameters:
description- the value to set- Returns:
- this builder
-
mimeType
public ReportSummary.Builder mimeType(ReportSummary.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 ReportSummary.Builder timeGenerated(Date timeGenerated)
Specifies the time at which the report was generated.- Parameters:
timeGenerated- the value to set- Returns:
- this builder
-
compartmentId
public ReportSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the report.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
lifecycleState
public ReportSummary.Builder lifecycleState(ReportLifecycleState lifecycleState)
The current state of the report.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
type
public ReportSummary.Builder type(ReportType type)
The type of the report.- Parameters:
type- the value to set- Returns:
- this builder
-
freeformTags
public ReportSummary.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 ReportSummary.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 ReportSummary build()
-
copy
public ReportSummary.Builder copy(ReportSummary model)
-
-