public static class PipelineValidation.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PipelineValidation |
build() |
PipelineValidation.Builder |
copy(PipelineValidation model) |
PipelineValidation.Builder |
description(String description)
Detailed description for the object.
|
PipelineValidation.Builder |
errorMessageCount(Integer errorMessageCount)
The total number of validation error messages.
|
PipelineValidation.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.
|
PipelineValidation.Builder |
infoMessageCount(Integer infoMessageCount)
The total number of validation information messages.
|
PipelineValidation.Builder |
key(String key)
Objects will use a 36 character key as unique ID.
|
PipelineValidation.Builder |
metadata(ObjectMetadata metadata) |
PipelineValidation.Builder |
modelType(String modelType)
The type of the object.
|
PipelineValidation.Builder |
modelVersion(String modelVersion)
This is a version number that is used by the service to upgrade objects if needed through
releases of the service.
|
PipelineValidation.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
PipelineValidation.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
PipelineValidation.Builder |
objectVersion(Integer objectVersion)
This is used by the service for optimistic locking of the object, to prevent multiple
users from simultaneously updating the object.
|
PipelineValidation.Builder |
parentRef(ParentReference parentRef) |
PipelineValidation.Builder |
totalMessageCount(Integer totalMessageCount)
The total number of validation messages.
|
PipelineValidation.Builder |
validationMessages(Map<String,List<ValidationMessage>> validationMessages)
The detailed information of the pipeline object validation.
|
PipelineValidation.Builder |
warnMessageCount(Integer warnMessageCount)
The total number of validation warning messages.
|
public PipelineValidation.Builder totalMessageCount(Integer totalMessageCount)
The total number of validation messages.
totalMessageCount
- the value to setpublic PipelineValidation.Builder errorMessageCount(Integer errorMessageCount)
The total number of validation error messages.
errorMessageCount
- the value to setpublic PipelineValidation.Builder warnMessageCount(Integer warnMessageCount)
The total number of validation warning messages.
warnMessageCount
- the value to setpublic PipelineValidation.Builder infoMessageCount(Integer infoMessageCount)
The total number of validation information messages.
infoMessageCount
- the value to setpublic PipelineValidation.Builder validationMessages(Map<String,List<ValidationMessage>> validationMessages)
The detailed information of the pipeline object validation.
validationMessages
- the value to setpublic PipelineValidation.Builder key(String key)
Objects will use a 36 character key as unique ID. It is system generated and cannot be modified.
key
- the value to setpublic PipelineValidation.Builder modelType(String modelType)
The type of the object.
modelType
- the value to setpublic PipelineValidation.Builder modelVersion(String modelVersion)
This is a version number that is used by the service to upgrade objects if needed through releases of the service.
modelVersion
- the value to setpublic PipelineValidation.Builder parentRef(ParentReference parentRef)
public PipelineValidation.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 PipelineValidation.Builder description(String description)
Detailed description for the object.
description
- the value to setpublic PipelineValidation.Builder objectVersion(Integer objectVersion)
This is used by the service for optimistic locking of the object, to prevent multiple users from simultaneously updating the object.
objectVersion
- the value to setpublic PipelineValidation.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 PipelineValidation.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 PipelineValidation.Builder metadata(ObjectMetadata metadata)
public PipelineValidation build()
public PipelineValidation.Builder copy(PipelineValidation model)
Copyright © 2016–2024. All rights reserved.