Class UpdatePatchDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.UpdatePatchDetails.Builder
-
- Enclosing class:
- UpdatePatchDetails
public static class UpdatePatchDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
description
public UpdatePatchDetails.Builder description(String description)
A user-friendly description.To provide some insight about the resource. Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
patchType
public UpdatePatchDetails.Builder patchType(PatchType patchType)
-
severity
public UpdatePatchDetails.Builder severity(PatchSeverity severity)
Patch Severity.- Parameters:
severity
- the value to set- Returns:
- this builder
-
timeReleased
public UpdatePatchDetails.Builder timeReleased(Date timeReleased)
Date when the patch was released.- Parameters:
timeReleased
- the value to set- Returns:
- this builder
-
artifactDetails
public UpdatePatchDetails.Builder artifactDetails(ArtifactDetails artifactDetails)
-
product
public UpdatePatchDetails.Builder product(PatchProduct product)
-
dependentPatches
public UpdatePatchDetails.Builder dependentPatches(List<DependentPatchDetails> dependentPatches)
Dependent Patches.- Parameters:
dependentPatches
- the value to set- Returns:
- this builder
-
compartmentId
public UpdatePatchDetails.Builder compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
freeformTags
public UpdatePatchDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public UpdatePatchDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public UpdatePatchDetails build()
-
copy
public UpdatePatchDetails.Builder copy(UpdatePatchDetails model)
-
-