Package com.oracle.bmc.datasafe.model
Class UpdateFindingDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.UpdateFindingDetails.Builder
-
- Enclosing class:
- UpdateFindingDetails
public static class UpdateFindingDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateFindingDetailsbuild()UpdateFindingDetails.Buildercopy(UpdateFindingDetails model)UpdateFindingDetails.Builderjustification(String justification)User provided reason for accepting or modifying this finding if they choose to do so.UpdateFindingDetails.Builderseverity(Finding.Severity severity)The severity of the finding as defined or changed by the user.UpdateFindingDetails.BuildertimeValidUntil(Date timeValidUntil)The time until which the change in severity (deferred / modified) got the given finding is valid.
-
-
-
Method Detail
-
severity
public UpdateFindingDetails.Builder severity(Finding.Severity severity)
The severity of the finding as defined or changed by the user.- Parameters:
severity- the value to set- Returns:
- this builder
-
justification
public UpdateFindingDetails.Builder justification(String justification)
User provided reason for accepting or modifying this finding if they choose to do so.- Parameters:
justification- the value to set- Returns:
- this builder
-
timeValidUntil
public UpdateFindingDetails.Builder timeValidUntil(Date timeValidUntil)
The time until which the change in severity (deferred / modified) got the given finding is valid.- Parameters:
timeValidUntil- the value to set- Returns:
- this builder
-
build
public UpdateFindingDetails build()
-
copy
public UpdateFindingDetails.Builder copy(UpdateFindingDetails model)
-
-