Class PatchSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.dataintegration.model.PatchSummary.Builder
-
- Enclosing class:
- PatchSummary
public static class PatchSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PatchSummary.Builder
applicationVersion(Integer applicationVersion)
The application version of the patch.PatchSummary
build()
PatchSummary.Builder
copy(PatchSummary model)
PatchSummary.Builder
dependentObjectMetadata(List<PatchObjectMetadata> dependentObjectMetadata)
List of dependent objects in this patch.PatchSummary.Builder
description(String description)
Detailed description for the object.PatchSummary.Builder
errorMessages(Map<String,String> errorMessages)
The errors encountered while applying the patch, if any.PatchSummary.Builder
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.PatchSummary.Builder
key(String key)
The object key.PatchSummary.Builder
keyMap(Map<String,String> keyMap)
A key map.PatchSummary.Builder
metadata(ObjectMetadata metadata)
PatchSummary.Builder
modelType(String modelType)
The object type.PatchSummary.Builder
modelVersion(String modelVersion)
The object’s model version.PatchSummary.Builder
name(String name)
Free form text without any restriction on permitted characters.PatchSummary.Builder
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.PatchSummary.Builder
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.PatchSummary.Builder
parentRef(ParentReference parentRef)
PatchSummary.Builder
patchObjectMetadata(List<PatchObjectMetadata> patchObjectMetadata)
List of objects that are published or unpublished in this patch.PatchSummary.Builder
patchStatus(PatchSummary.PatchStatus patchStatus)
Status of the patch applied or being applied on the applicationPatchSummary.Builder
patchType(PatchSummary.PatchType patchType)
The type of the patch applied or being applied on the application.PatchSummary.Builder
timePatched(Date timePatched)
The date and time the patch was applied, in the timestamp format defined by RFC3339.
-
-
-
Method Detail
-
key
public PatchSummary.Builder key(String key)
The object key.- Parameters:
key
- the value to set- Returns:
- this builder
-
modelType
public PatchSummary.Builder modelType(String modelType)
The object type.- Parameters:
modelType
- the value to set- Returns:
- this builder
-
modelVersion
public PatchSummary.Builder modelVersion(String modelVersion)
The object’s model version.- Parameters:
modelVersion
- the value to set- Returns:
- this builder
-
name
public PatchSummary.Builder name(String name)
Free form text without any restriction on permitted characters.Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public PatchSummary.Builder description(String description)
Detailed description for the object.- Parameters:
description
- the value to set- Returns:
- this builder
-
objectVersion
public PatchSummary.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.- Parameters:
objectVersion
- the value to set- Returns:
- this builder
-
objectStatus
public PatchSummary.Builder objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.- Parameters:
objectStatus
- the value to set- Returns:
- this builder
-
identifier
public PatchSummary.Builder identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.It should begin with upper case letter or underscore. The value can be modified.
- Parameters:
identifier
- the value to set- Returns:
- this builder
-
timePatched
public PatchSummary.Builder timePatched(Date timePatched)
The date and time the patch was applied, in the timestamp format defined by RFC3339.- Parameters:
timePatched
- the value to set- Returns:
- this builder
-
errorMessages
public PatchSummary.Builder errorMessages(Map<String,String> errorMessages)
The errors encountered while applying the patch, if any.- Parameters:
errorMessages
- the value to set- Returns:
- this builder
-
applicationVersion
public PatchSummary.Builder applicationVersion(Integer applicationVersion)
The application version of the patch.- Parameters:
applicationVersion
- the value to set- Returns:
- this builder
-
patchType
public PatchSummary.Builder patchType(PatchSummary.PatchType patchType)
The type of the patch applied or being applied on the application.- Parameters:
patchType
- the value to set- Returns:
- this builder
-
patchStatus
public PatchSummary.Builder patchStatus(PatchSummary.PatchStatus patchStatus)
Status of the patch applied or being applied on the application- Parameters:
patchStatus
- the value to set- Returns:
- this builder
-
dependentObjectMetadata
public PatchSummary.Builder dependentObjectMetadata(List<PatchObjectMetadata> dependentObjectMetadata)
List of dependent objects in this patch.- Parameters:
dependentObjectMetadata
- the value to set- Returns:
- this builder
-
patchObjectMetadata
public PatchSummary.Builder patchObjectMetadata(List<PatchObjectMetadata> patchObjectMetadata)
List of objects that are published or unpublished in this patch.- Parameters:
patchObjectMetadata
- the value to set- Returns:
- this builder
-
parentRef
public PatchSummary.Builder parentRef(ParentReference parentRef)
-
metadata
public PatchSummary.Builder metadata(ObjectMetadata metadata)
-
keyMap
public PatchSummary.Builder keyMap(Map<String,String> keyMap)
A key map.If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.
- Parameters:
keyMap
- the value to set- Returns:
- this builder
-
build
public PatchSummary build()
-
copy
public PatchSummary.Builder copy(PatchSummary model)
-
-