public static class ApplicationMetadata.Builder extends CommonMetadata.Builder<ApplicationMetadata.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 |
|---|---|
ApplicationMetadata |
build()
Build the application metadata instance.
|
ApplicationMetadata.Builder |
withType(java.lang.String type)
Set the type of this application resource.
|
withDescription, withMetadata, withMetadata, withTagspublic 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 who owns the applicationversion - The version of the applicationstatus - The status of the applicationpublic ApplicationMetadata.Builder withType(@Nullable java.lang.String type)
type - The type (e.g. Hadoop, Spark, etc) for grouping applicationspublic ApplicationMetadata build()