Class PatchSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.fleetappsmanagement.model.PatchSummary.Builder
 
- 
- Enclosing class:
- PatchSummary
 
 public static class PatchSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PatchSummary.BuilderartifactDetails(ArtifactDetails artifactDetails)PatchSummarybuild()PatchSummary.BuildercompartmentId(String compartmentId)OCID of the compartment to which the resource belongs to.PatchSummary.Buildercopy(PatchSummary model)PatchSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.PatchSummary.Builderdescription(String description)A user-friendly description.PatchSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.PatchSummary.Builderid(String id)The OCID of the resource.PatchSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.PatchSummary.BuilderlifecycleState(Patch.LifecycleState lifecycleState)The current state of the Patch.PatchSummary.Buildername(String name)A user-friendly name.PatchSummary.BuilderpatchType(PatchType patchType)PatchSummary.Builderproduct(PatchProduct product)PatchSummary.BuilderresourceRegion(String resourceRegion)Associated regionPatchSummary.Builderseverity(PatchSeverity severity)Patch Severity.PatchSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.PatchSummary.BuildertimeCreated(Date timeCreated)The time this resource was created.PatchSummary.BuildertimeReleased(Date timeReleased)Date when the patch was released.PatchSummary.BuildertimeUpdated(Date timeUpdated)The time this resource was last updated.PatchSummary.Buildertype(Patch.Type type)Provide information on who defined the patch.
 
- 
- 
- 
Method Detail- 
idpublic PatchSummary.Builder id(String id) The OCID of the resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
namepublic 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. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic PatchSummary.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
 
 - 
typepublic 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 - Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
patchTypepublic PatchSummary.Builder patchType(PatchType patchType) 
 - 
severitypublic PatchSummary.Builder severity(PatchSeverity severity) Patch Severity.- Parameters:
- severity- the value to set
- Returns:
- this builder
 
 - 
timeReleasedpublic PatchSummary.Builder timeReleased(Date timeReleased) Date when the patch was released.- Parameters:
- timeReleased- the value to set
- Returns:
- this builder
 
 - 
artifactDetailspublic PatchSummary.Builder artifactDetails(ArtifactDetails artifactDetails) 
 - 
productpublic PatchSummary.Builder product(PatchProduct product) 
 - 
compartmentIdpublic PatchSummary.Builder compartmentId(String compartmentId) OCID of the compartment to which the resource belongs to.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic PatchSummary.Builder lifecycleState(Patch.LifecycleState lifecycleState) The current state of the Patch.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic 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. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic PatchSummary.Builder timeCreated(Date timeCreated) The time this resource was created.An RFC3339 formatted datetime string. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic PatchSummary.Builder timeUpdated(Date timeUpdated) The time this resource was last updated.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
resourceRegionpublic PatchSummary.Builder resourceRegion(String resourceRegion) Associated region- Parameters:
- resourceRegion- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic PatchSummary build() 
 - 
copypublic PatchSummary.Builder copy(PatchSummary model) 
 
- 
 
-