Package com.oracle.bmc.datasafe.model
Class UpdateAlertDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.UpdateAlertDetails.Builder
-
- Enclosing class:
- UpdateAlertDetails
public static class UpdateAlertDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateAlertDetailsbuild()UpdateAlertDetails.Buildercomment(String comment)A comment can be entered to track the alert changes done by the user.UpdateAlertDetails.Buildercopy(UpdateAlertDetails model)UpdateAlertDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UpdateAlertDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.UpdateAlertDetails.Builderstatus(AlertStatus status)The status of the alert.
-
-
-
Method Detail
-
comment
public UpdateAlertDetails.Builder comment(String comment)
A comment can be entered to track the alert changes done by the user.- Parameters:
comment- the value to set- Returns:
- this builder
-
status
public UpdateAlertDetails.Builder status(AlertStatus status)
The status of the alert.- Parameters:
status- the value to set- Returns:
- this builder
-
freeformTags
public UpdateAlertDetails.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"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public UpdateAlertDetails.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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public UpdateAlertDetails build()
-
copy
public UpdateAlertDetails.Builder copy(UpdateAlertDetails model)
-
-