public static class CreateSecurityAssessmentDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateSecurityAssessmentDetails |
build() |
CreateSecurityAssessmentDetails.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the security assessment.
|
CreateSecurityAssessmentDetails.Builder |
copy(CreateSecurityAssessmentDetails model) |
CreateSecurityAssessmentDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateSecurityAssessmentDetails.Builder |
description(String description)
Description of the security assessment.
|
CreateSecurityAssessmentDetails.Builder |
displayName(String displayName)
The display name of the security assessment.
|
CreateSecurityAssessmentDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CreateSecurityAssessmentDetails.Builder |
isAssessmentScheduled(Boolean isAssessmentScheduled)
Indicates whether the assessment is scheduled to run.
|
CreateSecurityAssessmentDetails.Builder |
schedule(String schedule)
To schedule the assessment for running periodically, specify the schedule in this
attribute.
|
CreateSecurityAssessmentDetails.Builder |
targetId(String targetId)
The OCID of the target database on which security assessment is to be run.
|
public CreateSecurityAssessmentDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the security assessment.
compartmentId
- the value to setpublic CreateSecurityAssessmentDetails.Builder displayName(String displayName)
The display name of the security assessment.
displayName
- the value to setpublic CreateSecurityAssessmentDetails.Builder description(String description)
Description of the security assessment.
description
- the value to setpublic CreateSecurityAssessmentDetails.Builder targetId(String targetId)
The OCID of the target database on which security assessment is to be run.
targetId
- the value to setpublic CreateSecurityAssessmentDetails.Builder isAssessmentScheduled(Boolean isAssessmentScheduled)
Indicates whether the assessment is scheduled to run.
isAssessmentScheduled
- the value to setpublic CreateSecurityAssessmentDetails.Builder schedule(String schedule)
To schedule the assessment for running periodically, specify the schedule in this
attribute. Create or schedule one assessment per compartment. If not defined, the
assessment runs immediately. Format -
Allowed version strings - "v1" v1's version specific schedule -
schedule
- the value to setpublic CreateSecurityAssessmentDetails.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"}
freeformTags
- the value to setpublic CreateSecurityAssessmentDetails.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"}}
definedTags
- the value to setpublic CreateSecurityAssessmentDetails build()
public CreateSecurityAssessmentDetails.Builder copy(CreateSecurityAssessmentDetails model)
Copyright © 2016–2024. All rights reserved.