Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Patch.Builder |
applicationVersion(Integer applicationVersion)
The application version of the patch.
|
Patch |
build() |
Patch.Builder |
copy(Patch model) |
Patch.Builder |
dependentObjectMetadata(List<PatchObjectMetadata> dependentObjectMetadata)
List of dependent objects in this patch.
|
Patch.Builder |
description(String description)
Detailed description for the object.
|
Patch.Builder |
errorMessages(Map<String,String> errorMessages)
The errors encountered while applying the patch, if any.
|
Patch.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.
|
Patch.Builder |
key(String key)
The object key.
|
Patch.Builder |
keyMap(Map<String,String> keyMap)
A key map.
|
Patch.Builder |
metadata(ObjectMetadata metadata) |
Patch.Builder |
modelType(String modelType)
The object type.
|
Patch.Builder |
modelVersion(String modelVersion)
The object’s model version.
|
Patch.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
Patch.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
Patch.Builder |
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
|
Patch.Builder |
parentRef(ParentReference parentRef) |
Patch.Builder |
patchObjectMetadata(List<PatchObjectMetadata> patchObjectMetadata)
List of objects that are published or unpublished in this patch.
|
Patch.Builder |
patchStatus(Patch.PatchStatus patchStatus)
Status of the patch applied or being applied on the application
|
Patch.Builder |
patchType(Patch.PatchType patchType)
The type of the patch applied or being applied on the application.
|
Patch.Builder |
timePatched(Date timePatched)
The date and time the patch was applied, in the timestamp format defined by
RFC3339.
|
public Patch.Builder key(String key)
The object key.
key
- the value to setpublic Patch.Builder modelType(String modelType)
The object type.
modelType
- the value to setpublic Patch.Builder modelVersion(String modelVersion)
The object’s model version.
modelVersion
- the value to setpublic Patch.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 Patch.Builder description(String description)
Detailed description for the object.
description
- the value to setpublic Patch.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
objectVersion
- the value to setpublic Patch.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 Patch.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 Patch.Builder timePatched(Date timePatched)
The date and time the patch was applied, in the timestamp format defined by RFC3339.
timePatched
- the value to setpublic Patch.Builder errorMessages(Map<String,String> errorMessages)
The errors encountered while applying the patch, if any.
errorMessages
- the value to setpublic Patch.Builder applicationVersion(Integer applicationVersion)
The application version of the patch.
applicationVersion
- the value to setpublic Patch.Builder patchType(Patch.PatchType patchType)
The type of the patch applied or being applied on the application.
patchType
- the value to setpublic Patch.Builder patchStatus(Patch.PatchStatus patchStatus)
Status of the patch applied or being applied on the application
patchStatus
- the value to setpublic Patch.Builder dependentObjectMetadata(List<PatchObjectMetadata> dependentObjectMetadata)
List of dependent objects in this patch.
dependentObjectMetadata
- the value to setpublic Patch.Builder patchObjectMetadata(List<PatchObjectMetadata> patchObjectMetadata)
List of objects that are published or unpublished in this patch.
patchObjectMetadata
- the value to setpublic Patch.Builder parentRef(ParentReference parentRef)
public Patch.Builder metadata(ObjectMetadata metadata)
public Patch.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 Patch build()
public Patch.Builder copy(Patch model)
Copyright © 2016–2024. All rights reserved.