Class Assessor.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemigration.model.Assessor.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Assessor.Builderactions(List<AssessorAction> actions)Assessor actions.Assessor.BuilderassessmentId(String assessmentId)The OCID of the resource being referenced.Assessor.BuilderassessorGroup(AssessorGroup assessorGroup)Assessor.BuilderassessorResult(String assessorResult)The Assessor Result text.Assessorbuild()Assessor.BuilderchecksSummary(String checksSummary)The Summary of all Checks.Assessor.Buildercopy(Assessor model)Assessor.Builderdescription(String description)A user-friendly description.Assessor.BuilderdisplayName(String displayName)A user-friendly name.Assessor.BuilderdoesScriptRequireRestart(Boolean doesScriptRequireRestart)True if DB restart required after running the script, false otherwise.Assessor.BuilderhasScript(Boolean hasScript)True if script is available either from ‘script’ property of through download, false otherwise.Assessor.BuilderhelpLinkText(String helpLinkText)The Help link text.Assessor.BuilderhelpLinkUrl(String helpLinkUrl)The Help URL.Assessor.BuilderlifecycleState(AssessorLifecycleStates lifecycleState)The current state of the Assessor.Assessor.Buildername(String name)The Assessor Name.Assessor.Builderscript(String script)The generated SQL script.
-
-
-
Method Detail
-
assessmentId
public Assessor.Builder assessmentId(String assessmentId)
The OCID of the resource being referenced.- Parameters:
assessmentId- the value to set- Returns:
- this builder
-
name
public Assessor.Builder name(String name)
The Assessor Name.- Parameters:
name- the value to set- Returns:
- this builder
-
displayName
public Assessor.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public Assessor.Builder description(String description)
A user-friendly description.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
description- the value to set- Returns:
- this builder
-
helpLinkUrl
public Assessor.Builder helpLinkUrl(String helpLinkUrl)
The Help URL.- Parameters:
helpLinkUrl- the value to set- Returns:
- this builder
-
helpLinkText
public Assessor.Builder helpLinkText(String helpLinkText)
The Help link text.- Parameters:
helpLinkText- the value to set- Returns:
- this builder
-
lifecycleState
public Assessor.Builder lifecycleState(AssessorLifecycleStates lifecycleState)
The current state of the Assessor.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
assessorGroup
public Assessor.Builder assessorGroup(AssessorGroup assessorGroup)
-
actions
public Assessor.Builder actions(List<AssessorAction> actions)
Assessor actions.- Parameters:
actions- the value to set- Returns:
- this builder
-
assessorResult
public Assessor.Builder assessorResult(String assessorResult)
The Assessor Result text.- Parameters:
assessorResult- the value to set- Returns:
- this builder
-
checksSummary
public Assessor.Builder checksSummary(String checksSummary)
The Summary of all Checks.- Parameters:
checksSummary- the value to set- Returns:
- this builder
-
hasScript
public Assessor.Builder hasScript(Boolean hasScript)
True if script is available either from ‘script’ property of through download, false otherwise.- Parameters:
hasScript- the value to set- Returns:
- this builder
-
script
public Assessor.Builder script(String script)
The generated SQL script.Can be empty if the script exceeds maxLength. In this case the property ‘hasScript’ indicates that the script is available for download.
- Parameters:
script- the value to set- Returns:
- this builder
-
doesScriptRequireRestart
public Assessor.Builder doesScriptRequireRestart(Boolean doesScriptRequireRestart)
True if DB restart required after running the script, false otherwise.- Parameters:
doesScriptRequireRestart- the value to set- Returns:
- this builder
-
build
public Assessor build()
-
copy
public Assessor.Builder copy(Assessor model)
-
-