public static class PatchSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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 application
|
PatchSummary.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.
|
public PatchSummary.Builder key(String key)
The object key.
key
- the value to setpublic PatchSummary.Builder modelType(String modelType)
The object type.
modelType
- the value to setpublic PatchSummary.Builder modelVersion(String modelVersion)
The object’s model version.
modelVersion
- the value to setpublic 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.
name
- the value to setpublic PatchSummary.Builder description(String description)
Detailed description for the object.
description
- the value to setpublic PatchSummary.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
objectVersion
- the value to setpublic 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.
objectStatus
- the value to setpublic 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.
identifier
- the value to setpublic PatchSummary.Builder timePatched(Date timePatched)
The date and time the patch was applied, in the timestamp format defined by RFC3339.
timePatched
- the value to setpublic PatchSummary.Builder errorMessages(Map<String,String> errorMessages)
The errors encountered while applying the patch, if any.
errorMessages
- the value to setpublic PatchSummary.Builder applicationVersion(Integer applicationVersion)
The application version of the patch.
applicationVersion
- the value to setpublic PatchSummary.Builder patchType(PatchSummary.PatchType patchType)
The type of the patch applied or being applied on the application.
patchType
- the value to setpublic PatchSummary.Builder patchStatus(PatchSummary.PatchStatus patchStatus)
Status of the patch applied or being applied on the application
patchStatus
- the value to setpublic PatchSummary.Builder dependentObjectMetadata(List<PatchObjectMetadata> dependentObjectMetadata)
List of dependent objects in this patch.
dependentObjectMetadata
- the value to setpublic PatchSummary.Builder patchObjectMetadata(List<PatchObjectMetadata> patchObjectMetadata)
List of objects that are published or unpublished in this patch.
patchObjectMetadata
- the value to setpublic PatchSummary.Builder parentRef(ParentReference parentRef)
public PatchSummary.Builder metadata(ObjectMetadata metadata)
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.
keyMap
- the value to setpublic PatchSummary build()
public PatchSummary.Builder copy(PatchSummary model)
Copyright © 2016–2024. All rights reserved.