org.jclouds.byon.domain.YamlNode.<init>()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(4.5k)|赞(0)|评价(0)|浏览(80)

本文整理了Java中org.jclouds.byon.domain.YamlNode.<init>()方法的一些代码示例,展示了YamlNode.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YamlNode.<init>()方法的具体详情如下:
包路径:org.jclouds.byon.domain.YamlNode
类名称:YamlNode
方法名:<init>

YamlNode.<init>介绍

暂无

代码示例

代码示例来源:origin: org.apache.jclouds.api/byon

@Override
 public YamlNode apply(Node arg0) {
   if (arg0 == null)
    return null;
   YamlNode yaml = new YamlNode();
   yaml.id = arg0.getId();
   yaml.name = arg0.getName();
   yaml.description = arg0.getDescription();
   yaml.hostname = arg0.getHostname();
   yaml.location_id = arg0.getLocationId();
   yaml.os_arch = arg0.getOsArch();
   yaml.os_family = arg0.getOsFamily();
   yaml.os_description = arg0.getOsDescription();
   yaml.os_version = arg0.getOsVersion();
   yaml.os_64bit = arg0.isOs64Bit();
   yaml.login_port = arg0.getLoginPort();
   yaml.group = arg0.getGroup();
   yaml.tags = ImmutableList.copyOf(arg0.getTags());
   yaml.metadata = ImmutableMap.copyOf(arg0.getMetadata());
   yaml.username = arg0.getUsername();
   yaml.credential = arg0.getCredential();
   yaml.credential_url = arg0.getCredentialUrl() != null ? arg0.getCredentialUrl().toASCIIString() : null;
   yaml.sudo_password = arg0.getSudoPassword();
   return yaml;
 }
};

代码示例来源:origin: io.cloudsoft.jclouds.api/byon

@Override
 public YamlNode apply(Node arg0) {
   if (arg0 == null)
    return null;
   YamlNode yaml = new YamlNode();
   yaml.id = arg0.getId();
   yaml.name = arg0.getName();
   yaml.description = arg0.getDescription();
   yaml.hostname = arg0.getHostname();
   yaml.location_id = arg0.getLocationId();
   yaml.os_arch = arg0.getOsArch();
   yaml.os_family = arg0.getOsFamily();
   yaml.os_description = arg0.getOsDescription();
   yaml.os_version = arg0.getOsVersion();
   yaml.os_64bit = arg0.isOs64Bit();
   yaml.login_port = arg0.getLoginPort();
   yaml.group = arg0.getGroup();
   yaml.tags = ImmutableList.copyOf(arg0.getTags());
   yaml.metadata = ImmutableMap.copyOf(arg0.getMetadata());
   yaml.username = arg0.getUsername();
   yaml.credential = arg0.getCredential();
   yaml.credential_url = arg0.getCredentialUrl() != null ? arg0.getCredentialUrl().toASCIIString() : null;
   yaml.sudo_password = arg0.getSudoPassword();
   return yaml;
 }
};

代码示例来源:origin: jclouds/legacy-jclouds

@Override
 public YamlNode apply(Node arg0) {
   if (arg0 == null)
    return null;
   YamlNode yaml = new YamlNode();
   yaml.id = arg0.getId();
   yaml.name = arg0.getName();
   yaml.description = arg0.getDescription();
   yaml.hostname = arg0.getHostname();
   yaml.location_id = arg0.getLocationId();
   yaml.os_arch = arg0.getOsArch();
   yaml.os_family = arg0.getOsFamily();
   yaml.os_description = arg0.getOsDescription();
   yaml.os_version = arg0.getOsVersion();
   yaml.os_64bit = arg0.isOs64Bit();
   yaml.login_port = arg0.getLoginPort();
   yaml.group = arg0.getGroup();
   yaml.tags = ImmutableList.copyOf(arg0.getTags());
   yaml.metadata = ImmutableMap.copyOf(arg0.getMetadata());
   yaml.username = arg0.getUsername();
   yaml.credential = arg0.getCredential();
   yaml.credential_url = arg0.getCredentialUrl() != null ? arg0.getCredentialUrl().toASCIIString() : null;
   yaml.sudo_password = arg0.getSudoPassword();
   return yaml;
 }
};

代码示例来源:origin: org.jclouds.api/byon

@Override
 public YamlNode apply(Node arg0) {
   if (arg0 == null)
    return null;
   YamlNode yaml = new YamlNode();
   yaml.id = arg0.getId();
   yaml.name = arg0.getName();
   yaml.description = arg0.getDescription();
   yaml.hostname = arg0.getHostname();
   yaml.location_id = arg0.getLocationId();
   yaml.os_arch = arg0.getOsArch();
   yaml.os_family = arg0.getOsFamily();
   yaml.os_description = arg0.getOsDescription();
   yaml.os_version = arg0.getOsVersion();
   yaml.os_64bit = arg0.isOs64Bit();
   yaml.login_port = arg0.getLoginPort();
   yaml.group = arg0.getGroup();
   yaml.tags = ImmutableList.copyOf(arg0.getTags());
   yaml.metadata = ImmutableMap.copyOf(arg0.getMetadata());
   yaml.username = arg0.getUsername();
   yaml.credential = arg0.getCredential();
   yaml.credential_url = arg0.getCredentialUrl() != null ? arg0.getCredentialUrl().toASCIIString() : null;
   yaml.sudo_password = arg0.getSudoPassword();
   return yaml;
 }
};

代码示例来源:origin: apache/jclouds

@Override
 public YamlNode apply(Node arg0) {
   if (arg0 == null)
    return null;
   YamlNode yaml = new YamlNode();
   yaml.id = arg0.getId();
   yaml.name = arg0.getName();
   yaml.description = arg0.getDescription();
   yaml.hostname = arg0.getHostname();
   yaml.location_id = arg0.getLocationId();
   yaml.os_arch = arg0.getOsArch();
   yaml.os_family = arg0.getOsFamily();
   yaml.os_description = arg0.getOsDescription();
   yaml.os_version = arg0.getOsVersion();
   yaml.os_64bit = arg0.isOs64Bit();
   yaml.login_port = arg0.getLoginPort();
   yaml.group = arg0.getGroup();
   yaml.tags = ImmutableList.copyOf(arg0.getTags());
   yaml.metadata = ImmutableMap.copyOf(arg0.getMetadata());
   yaml.username = arg0.getUsername();
   yaml.credential = arg0.getCredential();
   yaml.credential_url = arg0.getCredentialUrl() != null ? arg0.getCredentialUrl().toASCIIString() : null;
   yaml.sudo_password = arg0.getSudoPassword();
   return yaml;
 }
};

相关文章

YamlNode类方法