public static class CompositeState.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CompositeState.Builder |
allStatesMap(Map<String,State> allStatesMap)
Map that stores all the States for a given Task or Schedule
|
CompositeState |
build() |
CompositeState.Builder |
compositeStateAggregator(CompositeState.CompositeStateAggregator compositeStateAggregator)
The type of the Composite State Aggregator.
|
CompositeState.Builder |
copy(CompositeState model) |
CompositeState.Builder |
description(String description)
Detailed description for the object.
|
CompositeState.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.
|
CompositeState.Builder |
key(String key)
Generated key that can be used in API calls to identify Composite State.
|
CompositeState.Builder |
metadata(ObjectMetadata metadata) |
CompositeState.Builder |
modelType(String modelType)
The type of the object.
|
CompositeState.Builder |
modelVersion(String modelVersion)
The model version of an object.
|
CompositeState.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
CompositeState.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
CompositeState.Builder |
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
|
CompositeState.Builder |
parentRef(ParentReference parentRef) |
CompositeState.Builder |
registryMetadata(RegistryMetadata registryMetadata) |
public CompositeState.Builder compositeStateAggregator(CompositeState.CompositeStateAggregator compositeStateAggregator)
The type of the Composite State Aggregator.
compositeStateAggregator
- the value to setpublic CompositeState.Builder key(String key)
Generated key that can be used in API calls to identify Composite State.
key
- the value to setpublic CompositeState.Builder modelType(String modelType)
The type of the object.
modelType
- the value to setpublic CompositeState.Builder modelVersion(String modelVersion)
The model version of an object.
modelVersion
- the value to setpublic CompositeState.Builder parentRef(ParentReference parentRef)
public CompositeState.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 CompositeState.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 CompositeState.Builder description(String description)
Detailed description for the object.
description
- the value to setpublic CompositeState.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
objectVersion
- the value to setpublic CompositeState.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 CompositeState.Builder allStatesMap(Map<String,State> allStatesMap)
Map that stores all the States for a given Task or Schedule
allStatesMap
- the value to setpublic CompositeState.Builder registryMetadata(RegistryMetadata registryMetadata)
public CompositeState.Builder metadata(ObjectMetadata metadata)
public CompositeState build()
public CompositeState.Builder copy(CompositeState model)
Copyright © 2016–2024. All rights reserved.