Skip to content

MetadataEntryResult

Initializer

import com.aliyun.ros.cdk.cxapi.MetadataEntryResult;
MetadataEntryResult.builder()
    .type(java.lang.String)
//  .data(java.lang.String)
//  .data(java.util.List<Tag>)
//  .trace(java.util.List<java.lang.String>)
    .path(java.lang.String)
    .build();

Properties

Name Type Description
type java.lang.String The type of the metadata entry.
data java.lang.String OR java.util.List The data.
trace java.util.List A stack trace for when the entry was created.
path java.lang.String The path in which this entry was defined.

typeRequired

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

The type of the metadata entry.


dataOptional

public java.lang.Object getData();
  • Type: java.lang.String OR java.util.List
  • Default: no data.

The data.


traceOptional

public java.util.List<java.lang.String> getTrace();
  • Type: java.util.List
  • Default: no trace.

A stack trace for when the entry was created.


pathRequired

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

The path in which this entry was defined.