public static final class AssemblyManifest.Builder
extends java.lang.Object
AssemblyManifest
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AssemblyManifest.Builder |
artifacts(java.util.Map<java.lang.String,? extends ArtifactManifest> artifacts)
Sets the value of
AssemblyManifest.getArtifacts() |
AssemblyManifest |
build()
Builds the configured instance.
|
AssemblyManifest.Builder |
missing(java.util.List<? extends MissingContext> missing)
Sets the value of
AssemblyManifest.getMissing() |
AssemblyManifest.Builder |
runtime(RuntimeInfo runtime)
Sets the value of
AssemblyManifest.getRuntime() |
AssemblyManifest.Builder |
version(java.lang.String version)
Sets the value of
AssemblyManifest.getVersion() |
public AssemblyManifest.Builder version(java.lang.String version)
AssemblyManifest.getVersion()
version
- Protocol version. This parameter is required.this
public AssemblyManifest.Builder artifacts(java.util.Map<java.lang.String,? extends ArtifactManifest> artifacts)
AssemblyManifest.getArtifacts()
artifacts
- The set of artifacts in this assembly.this
public AssemblyManifest.Builder missing(java.util.List<? extends MissingContext> missing)
AssemblyManifest.getMissing()
missing
- Missing context information.
If this field has values, it means that the
cloud assembly is not complete and should not be deployed.this
public AssemblyManifest.Builder runtime(RuntimeInfo runtime)
AssemblyManifest.getRuntime()
runtime
- Runtime information.this
public AssemblyManifest build()
AssemblyManifest
java.lang.NullPointerException
- if any required attribute was not provided