public static class Application.Builder extends ExecutionEnvironmentDTO.Builder<Application.Builder>
| Constructor and Description |
|---|
Builder(java.lang.String name,
java.lang.String user,
java.lang.String version,
ApplicationStatus status)
Constructor which has required fields.
|
| Modifier and Type | Method and Description |
|---|---|
Application |
build()
Build the application.
|
Application.Builder |
withType(java.lang.String type)
Set the type of this application.
|
withConfigs, withDependencies, withSetupFilewithDescription, withMetadata, withMetadata, withTagswithCreated, withId, withUpdatedpublic Builder(java.lang.String name,
java.lang.String user,
java.lang.String version,
ApplicationStatus status)
name - The name to use for the Applicationuser - The user to use for the Applicationversion - The version to use for the Applicationstatus - The status of the Applicationpublic Application.Builder withType(java.lang.String type)
type - The type (e.g. Hadoop, Spark, etc) for grouping applicationspublic Application build()