Package com.netflix.genie.common.dto
Class ExecutionEnvironmentDTO.Builder<T extends ExecutionEnvironmentDTO.Builder>
java.lang.Object
com.netflix.genie.common.dto.BaseDTO.Builder<T>
com.netflix.genie.common.dto.CommonDTO.Builder<T>
com.netflix.genie.common.dto.ExecutionEnvironmentDTO.Builder<T>
- Type Parameters:
T
- The type of builder that extends this builder for final implementation
- Direct Known Subclasses:
Application.Builder
,Cluster.Builder
,Command.Builder
,JobRequest.Builder
- Enclosing class:
- ExecutionEnvironmentDTO
public abstract static class ExecutionEnvironmentDTO.Builder<T extends ExecutionEnvironmentDTO.Builder>
extends CommonDTO.Builder<T>
A builder for helping to create instances.
- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwithConfigs
(Set<String> configs) The configs to use with the resource if desired.withDependencies
(Set<String> dependencies) Set the dependencies for the entity if desired.withSetupFile
(String setupFile) The setup file to use with the resource if desired.Methods inherited from class com.netflix.genie.common.dto.CommonDTO.Builder
withDescription, withMetadata, withMetadata, withTags
Methods inherited from class com.netflix.genie.common.dto.BaseDTO.Builder
withCreated, withId, withUpdated
-
Constructor Details
-
Builder
Constructor with required fields.- Parameters:
name
- The name to use for the resourceuser
- The user to user for the resourceversion
- The version to use for the resource
-
-
Method Details
-
withSetupFile
The setup file to use with the resource if desired.- Parameters:
setupFile
- The setup file location- Returns:
- The builder
-
withConfigs
The configs to use with the resource if desired.- Parameters:
configs
- The configuration file locations- Returns:
- The builder
-
withDependencies
Set the dependencies for the entity if desired.- Parameters:
dependencies
- The dependencies- Returns:
- The builder
-