public static class CreateTaskRunDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateTaskRunDetails.Builder key(String key)
The key of the object.
key
- the value to setpublic CreateTaskRunDetails.Builder modelType(String modelType)
The type of the object.
modelType
- the value to setpublic CreateTaskRunDetails.Builder modelVersion(String modelVersion)
The model version of an object.
modelVersion
- the value to setpublic CreateTaskRunDetails.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 CreateTaskRunDetails.Builder description(String description)
Detailed description for the object.
description
- the value to setpublic CreateTaskRunDetails.Builder configProvider(CreateConfigProvider configProvider)
public CreateTaskRunDetails.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 CreateTaskRunDetails.Builder taskScheduleKey(String taskScheduleKey)
Optional task schedule key reference.
taskScheduleKey
- the value to setpublic CreateTaskRunDetails.Builder refTaskRunId(String refTaskRunId)
Reference Task Run Id to be used for re-run
refTaskRunId
- the value to setpublic CreateTaskRunDetails.Builder reRunType(CreateTaskRunDetails.ReRunType reRunType)
Supported re-run types
reRunType
- the value to setpublic CreateTaskRunDetails.Builder stepId(String stepId)
Step Id for running from a certain step.
stepId
- the value to setpublic CreateTaskRunDetails.Builder registryMetadata(RegistryMetadata registryMetadata)
public CreateTaskRunDetails build()
public CreateTaskRunDetails.Builder copy(CreateTaskRunDetails model)
Copyright © 2016–2024. All rights reserved.