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, withSetupFile
withDescription, withMetadata, withMetadata, withTags
withCreated, withId, withUpdated
public 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(@Nullable java.lang.String type)
type
- The type (e.g. Hadoop, Spark, etc) for grouping applicationspublic Application build()