public static class CreatePatchDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
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.
name
- the value to setpublic CreatePatchDetails.Builder description(String description)
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
description
- the value to setpublic CreatePatchDetails.Builder patchType(PatchType patchType)
public CreatePatchDetails.Builder severity(PatchSeverity severity)
Patch Severity.
severity
- the value to setpublic CreatePatchDetails.Builder timeReleased(Date timeReleased)
Date when the patch was released.
timeReleased
- the value to setpublic CreatePatchDetails.Builder artifactDetails(ArtifactDetails artifactDetails)
public CreatePatchDetails.Builder product(PatchProduct product)
public CreatePatchDetails.Builder dependentPatches(List<DependentPatchDetails> dependentPatches)
Dependent Patches for this patch.
dependentPatches
- the value to setpublic CreatePatchDetails.Builder compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.
compartmentId
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic CreatePatchDetails build()
public CreatePatchDetails.Builder copy(CreatePatchDetails model)
Copyright © 2016–2024. All rights reserved.