public static class PatchObjectMetadata.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PatchObjectMetadata.Builder |
action(PatchObjectMetadata.Action action)
The patch action indicating if object was created, updated, or deleted.
|
PatchObjectMetadata |
build() |
PatchObjectMetadata.Builder |
copy(PatchObjectMetadata model) |
PatchObjectMetadata.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore and numbers.
|
PatchObjectMetadata.Builder |
key(String key)
The key of the object.
|
PatchObjectMetadata.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
PatchObjectMetadata.Builder |
namePath(String namePath)
The fully qualified path of the published object, which would include its project and
folder.
|
PatchObjectMetadata.Builder |
objectVersion(Integer objectVersion)
The object version.
|
PatchObjectMetadata.Builder |
type(PatchObjectMetadata.Type type)
The type of the object in patch.
|
public PatchObjectMetadata.Builder key(String key)
The key of the object.
key
- the value to setpublic PatchObjectMetadata.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 PatchObjectMetadata.Builder namePath(String namePath)
The fully qualified path of the published object, which would include its project and folder.
namePath
- the value to setpublic PatchObjectMetadata.Builder type(PatchObjectMetadata.Type type)
The type of the object in patch.
type
- the value to setpublic PatchObjectMetadata.Builder objectVersion(Integer objectVersion)
The object version.
objectVersion
- the value to setpublic PatchObjectMetadata.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 PatchObjectMetadata.Builder action(PatchObjectMetadata.Action action)
The patch action indicating if object was created, updated, or deleted.
action
- the value to setpublic PatchObjectMetadata build()
public PatchObjectMetadata.Builder copy(PatchObjectMetadata model)
Copyright © 2016–2024. All rights reserved.