public static class PatchSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PatchSummary.Builder |
artifactDetails(ArtifactDetails artifactDetails) |
PatchSummary |
build() |
PatchSummary.Builder |
compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.
|
PatchSummary.Builder |
copy(PatchSummary model) |
PatchSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
PatchSummary.Builder |
description(String description)
A user-friendly description.
|
PatchSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
PatchSummary.Builder |
id(String id)
The OCID of the resource.
|
PatchSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
PatchSummary.Builder |
lifecycleState(Patch.LifecycleState lifecycleState)
The current state of the Patch.
|
PatchSummary.Builder |
name(String name)
A user-friendly name.
|
PatchSummary.Builder |
patchType(PatchType patchType) |
PatchSummary.Builder |
product(PatchProduct product) |
PatchSummary.Builder |
resourceRegion(String resourceRegion)
Associated region
|
PatchSummary.Builder |
severity(PatchSeverity severity)
Patch Severity.
|
PatchSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
PatchSummary.Builder |
timeCreated(Date timeCreated)
The time this resource was created.
|
PatchSummary.Builder |
timeReleased(Date timeReleased)
Date when the patch was released.
|
PatchSummary.Builder |
timeUpdated(Date timeUpdated)
The time this resource was last updated.
|
PatchSummary.Builder |
type(Patch.Type type)
Provide information on who defined the patch.
|
public PatchSummary.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic PatchSummary.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 PatchSummary.Builder description(String description)
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
description
- the value to setpublic PatchSummary.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 PatchSummary.Builder patchType(PatchType patchType)
public PatchSummary.Builder severity(PatchSeverity severity)
Patch Severity.
severity
- the value to setpublic PatchSummary.Builder timeReleased(Date timeReleased)
Date when the patch was released.
timeReleased
- the value to setpublic PatchSummary.Builder artifactDetails(ArtifactDetails artifactDetails)
public PatchSummary.Builder product(PatchProduct product)
public PatchSummary.Builder compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.
compartmentId
- the value to setpublic PatchSummary.Builder lifecycleState(Patch.LifecycleState lifecycleState)
The current state of the Patch.
lifecycleState
- the value to setpublic PatchSummary.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 PatchSummary.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic PatchSummary.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic PatchSummary.Builder resourceRegion(String resourceRegion)
Associated region
resourceRegion
- the value to setpublic PatchSummary.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 PatchSummary.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 PatchSummary.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 PatchSummary build()
public PatchSummary.Builder copy(PatchSummary model)
Copyright © 2016–2024. All rights reserved.