T
- The type of builder that extends this builder for final implementationpublic abstract static class ExecutionEnvironmentDTO.Builder<T extends ExecutionEnvironmentDTO.Builder> extends CommonDTO.Builder<T>
Modifier | Constructor and Description |
---|---|
protected |
Builder(java.lang.String name,
java.lang.String user,
java.lang.String version)
Constructor with required fields.
|
Modifier and Type | Method and Description |
---|---|
T |
withConfigs(java.util.Set<java.lang.String> configs)
The configs to use with the resource if desired.
|
T |
withDependencies(java.util.Set<java.lang.String> dependencies)
Set the dependencies for the entity if desired.
|
T |
withSetupFile(java.lang.String setupFile)
The setup file to use with the resource if desired.
|
withDescription, withMetadata, withMetadata, withTags
withCreated, withId, withUpdated
protected Builder(java.lang.String name, java.lang.String user, java.lang.String version)
name
- The name to use for the resourceuser
- The user to user for the resourceversion
- The version to use for the resourcepublic T withSetupFile(@Nullable java.lang.String setupFile)
setupFile
- The setup file locationpublic T withConfigs(@Nullable java.util.Set<java.lang.String> configs)
configs
- The configuration file locationspublic T withDependencies(@Nullable java.util.Set<java.lang.String> dependencies)
dependencies
- The dependencies