public static class ProjectSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ProjectSummary |
build() |
ProjectSummary.Builder |
copy(ProjectSummary model) |
ProjectSummary.Builder |
description(String description)
A user defined description for the project.
|
ProjectSummary.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.
|
ProjectSummary.Builder |
key(String key)
Generated key that can be used in API calls to identify project.
|
ProjectSummary.Builder |
keyMap(Map<String,String> keyMap)
A key map.
|
ProjectSummary.Builder |
metadata(ObjectMetadata metadata) |
ProjectSummary.Builder |
modelType(String modelType)
The type of the object.
|
ProjectSummary.Builder |
modelVersion(String modelVersion)
The model version of an object.
|
ProjectSummary.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
ProjectSummary.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
ProjectSummary.Builder |
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
|
ProjectSummary.Builder |
parentRef(ParentReference parentRef) |
public ProjectSummary.Builder key(String key)
Generated key that can be used in API calls to identify project.
key
- the value to setpublic ProjectSummary.Builder modelType(String modelType)
The type of the object.
modelType
- the value to setpublic ProjectSummary.Builder modelVersion(String modelVersion)
The model version of an object.
modelVersion
- the value to setpublic ProjectSummary.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 ProjectSummary.Builder description(String description)
A user defined description for the project.
description
- the value to setpublic ProjectSummary.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 ProjectSummary.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 ProjectSummary.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
objectVersion
- the value to setpublic ProjectSummary.Builder parentRef(ParentReference parentRef)
public ProjectSummary.Builder metadata(ObjectMetadata metadata)
public ProjectSummary.Builder keyMap(Map<String,String> keyMap)
A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key.
keyMap
- the value to setpublic ProjectSummary build()
public ProjectSummary.Builder copy(ProjectSummary model)
Copyright © 2016–2024. All rights reserved.