Class CreatePatchDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.CreatePatchDetails.Builder
-
- Enclosing class:
- CreatePatchDetails
public static class CreatePatchDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
name
public CreatePatchDetails.Builder name(String name)
A user-friendly name.Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public CreatePatchDetails.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 CreatePatchDetails.Builder patchType(PatchType patchType)
-
severity
public CreatePatchDetails.Builder severity(PatchSeverity severity)
Patch Severity.- Parameters:
severity
- the value to set- Returns:
- this builder
-
timeReleased
public CreatePatchDetails.Builder timeReleased(Date timeReleased)
Date when the patch was released.- Parameters:
timeReleased
- the value to set- Returns:
- this builder
-
artifactDetails
public CreatePatchDetails.Builder artifactDetails(ArtifactDetails artifactDetails)
-
product
public CreatePatchDetails.Builder product(PatchProduct product)
-
dependentPatches
public CreatePatchDetails.Builder dependentPatches(List<DependentPatchDetails> dependentPatches)
Dependent Patches for this patch.- Parameters:
dependentPatches
- the value to set- Returns:
- this builder
-
compartmentId
public CreatePatchDetails.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 CreatePatchDetails.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 CreatePatchDetails.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 CreatePatchDetails build()
-
copy
public CreatePatchDetails.Builder copy(CreatePatchDetails model)
-
-