ArtifactManifest
A manifest for a single artifact within the cloud assembly.
Initializer
import com.aliyun.ros.cdk.assembly.schema.ArtifactManifest;
ArtifactManifest.builder()
.type(ArtifactType)
// .dependencies(java.util.List<java.lang.String>)
// .metadata(java.util.Map<java.lang.String, java.util.List<MetadataEntry>>)
// .properties(AliyunRosStackProperties)
// .properties(TreeArtifactProperties)
// .properties(NestedCloudAssemblyProperties)
.build();
Properties
Name | Type | Description |
---|---|---|
type |
ArtifactType |
The type of artifact. |
dependencies |
java.util.List |
IDs of artifacts that must be deployed before this artifact. |
metadata |
java.util.Map<java.lang.String, java.util.List<MetadataEntry>> |
Associated metadata. |
properties |
AliyunRosStackProperties OR TreeArtifactProperties OR NestedCloudAssemblyProperties |
The set of properties for this artifact (depends on type). |
type
Required
public ArtifactType getType();
- Type: ArtifactType
The type of artifact.
dependencies
Optional
public java.util.List<java.lang.String> getDependencies();
- Type: java.util.List
- Default: no dependencies.
IDs of artifacts that must be deployed before this artifact.
metadata
Optional
public java.util.Map<java.lang.String, java.util.List<MetadataEntry>> getMetadata();
- Type: java.util.Map<java.lang.String, java.util.List<MetadataEntry>>
- Default: no metadata.
Associated metadata.
properties
Optional
public java.lang.Object getProperties();
- Type: AliyunRosStackProperties OR TreeArtifactProperties OR NestedCloudAssemblyProperties
- Default: no properties.
The set of properties for this artifact (depends on type).