Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Patch.Builder |
artifactDetails(ArtifactDetails artifactDetails) |
Patch |
build() |
Patch.Builder |
compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.
|
Patch.Builder |
copy(Patch model) |
Patch.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Patch.Builder |
dependentPatches(List<DependentPatchDetails> dependentPatches)
Dependent Patches for this patch.
|
Patch.Builder |
description(String description)
A user-friendly description.
|
Patch.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Patch.Builder |
id(String id)
The OCID of the resource.
|
Patch.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Patch.Builder |
lifecycleState(Patch.LifecycleState lifecycleState)
The current state of the Patch.
|
Patch.Builder |
name(String name)
A user-friendly name.
|
Patch.Builder |
patchType(PatchType patchType) |
Patch.Builder |
product(PatchProduct product) |
Patch.Builder |
resourceRegion(String resourceRegion)
Associated region
|
Patch.Builder |
severity(PatchSeverity severity)
Patch Severity.
|
Patch.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
Patch.Builder |
timeCreated(Date timeCreated)
The time this resource was created.
|
Patch.Builder |
timeReleased(Date timeReleased)
Date when the patch was released.
|
Patch.Builder |
timeUpdated(Date timeUpdated)
The time this resource was last updated.
|
Patch.Builder |
type(Patch.Type type)
Provide information on who defined the patch.
|
public Patch.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic Patch.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 Patch.Builder description(String description)
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
description
- the value to setpublic Patch.Builder type(Patch.Type type)
Provide information on who defined the patch. Example: For Custom Patches the value will be USER_DEFINED For Oracle Defined Patches the value will be ORACLE_DEFINED
type
- the value to setpublic Patch.Builder patchType(PatchType patchType)
public Patch.Builder severity(PatchSeverity severity)
Patch Severity.
severity
- the value to setpublic Patch.Builder timeReleased(Date timeReleased)
Date when the patch was released.
timeReleased
- the value to setpublic Patch.Builder artifactDetails(ArtifactDetails artifactDetails)
public Patch.Builder product(PatchProduct product)
public Patch.Builder dependentPatches(List<DependentPatchDetails> dependentPatches)
Dependent Patches for this patch.
dependentPatches
- the value to setpublic Patch.Builder lifecycleState(Patch.LifecycleState lifecycleState)
The current state of the Patch.
lifecycleState
- the value to setpublic Patch.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic Patch.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic Patch.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic Patch.Builder compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.
compartmentId
- the value to setpublic Patch.Builder resourceRegion(String resourceRegion)
Associated region
resourceRegion
- the value to setpublic Patch.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 Patch.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 Patch.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic Patch build()
public Patch.Builder copy(Patch model)
Copyright © 2016–2024. All rights reserved.