Skip to content

FileAssetMetadataEntry

Metadata Entry spec for files.

Example

Map<String, String> entry = Map.of(
        "packaging", "file",
        "ossBucketParameter", "bucket-parameter",
        "ossKeyParameter", "key-parameter",
        "artifactHashParameter", "hash-parameter");

Initializer

import com.aliyun.ros.cdk.assembly.schema.FileAssetMetadataEntry;
FileAssetMetadataEntry.builder()
    .artifactHashParameter(java.lang.String)
    .id(java.lang.String)
    .ossBucketParameter(java.lang.String)
    .ossKeyParameter(java.lang.String)
    .packaging(java.lang.String)
    .path(java.lang.String)
    .sourceHash(java.lang.String)
    .build();

Properties

Name Type Description
artifactHashParameter java.lang.String The name of the parameter where the hash of the bundled asset should be passed in.
id java.lang.String Logical identifier for the asset.
ossBucketParameter java.lang.String Name of parameter where OSS bucket should be passed in.
ossKeyParameter java.lang.String Name of parameter where OSS object key should be passed in.
packaging java.lang.String Requested packaging style.
path java.lang.String Path on disk to the asset.
sourceHash java.lang.String The hash of the asset source.

artifactHashParameterRequired

public java.lang.String getArtifactHashParameter();
  • Type: java.lang.String

The name of the parameter where the hash of the bundled asset should be passed in.


idRequired

public java.lang.String getId();
  • Type: java.lang.String

Logical identifier for the asset.


ossBucketParameterRequired

public java.lang.String getOssBucketParameter();
  • Type: java.lang.String

Name of parameter where OSS bucket should be passed in.


ossKeyParameterRequired

public java.lang.String getOssKeyParameter();
  • Type: java.lang.String

Name of parameter where OSS object key should be passed in.


packagingRequired

public java.lang.String getPackaging();
  • Type: java.lang.String

Requested packaging style.


pathRequired

public java.lang.String getPath();
  • Type: java.lang.String

Path on disk to the asset.


sourceHashRequired

public java.lang.String getSourceHash();
  • Type: java.lang.String

The hash of the asset source.