Package com.oracle.bmc.cloudguard.model
Class ComplianceDocumentSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.ComplianceDocumentSummary.Builder
-
- Enclosing class:
- ComplianceDocumentSummary
public static class ComplianceDocumentSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComplianceDocumentSummarybuild()ComplianceDocumentSummary.Buildercopy(ComplianceDocumentSummary model)ComplianceDocumentSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ComplianceDocumentSummary.BuilderdocumentFileName(String documentFileName)The file name of the compliance document.ComplianceDocumentSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ComplianceDocumentSummary.Builderid(String id)A unique identifier for the document that is assigned when you create the document as an Oracle Cloud Infrastructure resource and is immutable.ComplianceDocumentSummary.BuilderlifecycleState(ComplianceDocument.LifecycleState lifecycleState)The current lifecycle state of the compliance document.ComplianceDocumentSummary.Buildername(String name)A friendly name or title for the compliance document.ComplianceDocumentSummary.Builderplatform(String platform)The environment, also known as platform or business pillar, to which the compliance document belongs.ComplianceDocumentSummary.BuildersaasServiceName(String saasServiceName)The saas service name to which compliance document belongs.ComplianceDocumentSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ComplianceDocumentSummary.BuildertimeCreated(Date timeCreated)The date and time the compliance document was created, expressed in RFC 3339 timestamp format.ComplianceDocumentSummary.BuildertimeUpdated(Date timeUpdated)The date and time the compliance document was last updated, expressed in RFC 3339 timestamp format.ComplianceDocumentSummary.Buildertype(String type)The type of compliance document.ComplianceDocumentSummary.Builderversion(Integer version)The version number of the compliance document.
-
-
-
Method Detail
-
id
public ComplianceDocumentSummary.Builder id(String id)
A unique identifier for the document that is assigned when you create the document as an Oracle Cloud Infrastructure resource and is immutable.- Parameters:
id- the value to set- Returns:
- this builder
-
name
public ComplianceDocumentSummary.Builder name(String name)
A friendly name or title for the compliance document.You cannot update this value later. Avoid entering confidential information.
- Parameters:
name- the value to set- Returns:
- this builder
-
timeCreated
public ComplianceDocumentSummary.Builder timeCreated(Date timeCreated)
The date and time the compliance document was created, expressed in RFC 3339 timestamp format.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
lifecycleState
public ComplianceDocumentSummary.Builder lifecycleState(ComplianceDocument.LifecycleState lifecycleState)
The current lifecycle state of the compliance document.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
documentFileName
public ComplianceDocumentSummary.Builder documentFileName(String documentFileName)
The file name of the compliance document.- Parameters:
documentFileName- the value to set- Returns:
- this builder
-
version
public ComplianceDocumentSummary.Builder version(Integer version)
The version number of the compliance document.- Parameters:
version- the value to set- Returns:
- this builder
-
type
public ComplianceDocumentSummary.Builder type(String type)
The type of compliance document.- Parameters:
type- the value to set- Returns:
- this builder
-
platform
public ComplianceDocumentSummary.Builder platform(String platform)
The environment, also known as platform or business pillar, to which the compliance document belongs.- Parameters:
platform- the value to set- Returns:
- this builder
-
timeUpdated
public ComplianceDocumentSummary.Builder timeUpdated(Date timeUpdated)
The date and time the compliance document was last updated, expressed in RFC 3339 timestamp format.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
saasServiceName
public ComplianceDocumentSummary.Builder saasServiceName(String saasServiceName)
The saas service name to which compliance document belongs.- Parameters:
saasServiceName- the value to set- Returns:
- this builder
-
freeformTags
public ComplianceDocumentSummary.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”}
Avoid entering confidential information.
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public ComplianceDocumentSummary.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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public ComplianceDocumentSummary.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. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public ComplianceDocumentSummary build()
-
copy
public ComplianceDocumentSummary.Builder copy(ComplianceDocumentSummary model)
-
-