Class CreatePatchDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.fleetappsmanagement.model.CreatePatchDetails.Builder
 
- 
- Enclosing class:
- CreatePatchDetails
 
 public static class CreatePatchDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
namepublic 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
 
 - 
descriptionpublic 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
 
 - 
patchTypepublic CreatePatchDetails.Builder patchType(PatchType patchType) 
 - 
severitypublic CreatePatchDetails.Builder severity(PatchSeverity severity) Patch Severity.- Parameters:
- severity- the value to set
- Returns:
- this builder
 
 - 
timeReleasedpublic CreatePatchDetails.Builder timeReleased(Date timeReleased) Date when the patch was released.- Parameters:
- timeReleased- the value to set
- Returns:
- this builder
 
 - 
artifactDetailspublic CreatePatchDetails.Builder artifactDetails(ArtifactDetails artifactDetails) 
 - 
productpublic CreatePatchDetails.Builder product(PatchProduct product) 
 - 
dependentPatchespublic CreatePatchDetails.Builder dependentPatches(List<DependentPatchDetails> dependentPatches) Dependent Patches for this patch.- Parameters:
- dependentPatches- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CreatePatchDetails.Builder compartmentId(String compartmentId) OCID of the compartment to which the resource belongs to.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
buildpublic CreatePatchDetails build() 
 - 
copypublic CreatePatchDetails.Builder copy(CreatePatchDetails model) 
 
- 
 
-