Package com.oracle.bmc.cloudguard.model
Class ComplianceDocument.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.ComplianceDocument.Builder
-
- Enclosing class:
- ComplianceDocument
public static class ComplianceDocument.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComplianceDocumentbuild()ComplianceDocument.Buildercopy(ComplianceDocument model)ComplianceDocument.BuilderdocumentFileName(String documentFileName)The file name of the compliance document.ComplianceDocument.Builderid(String id)The OCID of the compliance document, which is assigned when you create the document as an Oracle Cloud Infrastructure resource and is immutable.ComplianceDocument.BuilderlifecycleState(ComplianceDocument.LifecycleState lifecycleState)The current lifecycle state of the compliance document.ComplianceDocument.Buildername(String name)A friendly name or title for the compliance document.ComplianceDocument.Builderplatform(String platform)The information technology infrastructure platform, or set of services, to which the compliance document belongs.ComplianceDocument.BuildersaasServiceName(String saasServiceName)The saas service name to which compliance document belongs.ComplianceDocument.BuildertimeCreated(Date timeCreated)The date and time the compliance document was created, expressed in RFC 3339 timestamp format.ComplianceDocument.BuildertimeUpdated(Date timeUpdated)The date and time the compliance document was last updated, expressed in RFC 3339 timestamp format.ComplianceDocument.Buildertype(String type)The type of compliance document.ComplianceDocument.Builderversion(Integer version)The version number of the compliance document.
-
-
-
Method Detail
-
id
public ComplianceDocument.Builder id(String id)
The OCID of the compliance document, which 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 ComplianceDocument.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 ComplianceDocument.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 ComplianceDocument.Builder lifecycleState(ComplianceDocument.LifecycleState lifecycleState)
The current lifecycle state of the compliance document.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
documentFileName
public ComplianceDocument.Builder documentFileName(String documentFileName)
The file name of the compliance document.- Parameters:
documentFileName- the value to set- Returns:
- this builder
-
version
public ComplianceDocument.Builder version(Integer version)
The version number of the compliance document.- Parameters:
version- the value to set- Returns:
- this builder
-
type
public ComplianceDocument.Builder type(String type)
The type of compliance document.For definitions of supported types of compliance documents, see Types of Compliance Documents.
- Parameters:
type- the value to set- Returns:
- this builder
-
platform
public ComplianceDocument.Builder platform(String platform)
The information technology infrastructure platform, or set of services, to which the compliance document belongs.A platform can also be described as an environment or a business pillar. For definitions of supported environments, see Types of Environments.
- Parameters:
platform- the value to set- Returns:
- this builder
-
timeUpdated
public ComplianceDocument.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 ComplianceDocument.Builder saasServiceName(String saasServiceName)
The saas service name to which compliance document belongs.For other types such as ‘OCI’ / ‘PaaS’ this value will be null.
- Parameters:
saasServiceName- the value to set- Returns:
- this builder
-
build
public ComplianceDocument build()
-
copy
public ComplianceDocument.Builder copy(ComplianceDocument model)
-
-