org.jclouds.ultradns.ws.domain.ZoneProperties.builder()方法的使用及代码示例

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

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

ZoneProperties.builder介绍

暂无

代码示例

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

public Builder toBuilder() {
 return builder().from(this);
}

代码示例来源:origin: org.apache.jclouds.provider/ultradns-ws

public Builder toBuilder() {
 return builder().from(this);
}

代码示例来源:origin: io.cloudsoft.jclouds.provider/ultradns-ws

public Builder toBuilder() {
 return builder().from(this);
}

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

public Builder toBuilder() {
 return builder().from(this);
}

代码示例来源:origin: com.amysta.jclouds.provider/ultradns-ws

public Builder toBuilder() {
 return builder().from(this);
}

代码示例来源:origin: com.amysta.jclouds.provider/ultradns-ws

@Override
  public void startElement(String uri, String localName, String qName, Attributes attrs) {
   Map<String, String> attributes = cleanseAttributes(attrs);
   if (equalsOrSuffix(qName, "GeneralZoneProperties")) {
     Type type = Type.valueOf(checkNotNull(attributes.get("zoneType"), "zoneType").toUpperCase());
     int count = Integer.parseInt(checkNotNull(attributes.get("resourceRecordCount"), "resourceRecordCount"));
     zone = ZoneProperties.builder()
               .name(attributes.get("name"))
               .typeCode(type.getCode())
               .resourceRecordCount(count)
               .modified(dateService.iso8601DateParse(attributes.get("modified"))).build();
   }
  }
}

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

@Override
  public void startElement(String uri, String localName, String qName, Attributes attrs) {
   Map<String, String> attributes = cleanseAttributes(attrs);
   if (equalsOrSuffix(qName, "GeneralZoneProperties")) {
     Type type = Type.valueOf(checkNotNull(attributes.get("zoneType"), "zoneType").toUpperCase());
     int count = Integer.parseInt(checkNotNull(attributes.get("resourceRecordCount"), "resourceRecordCount"));
     zone = ZoneProperties.builder()
               .name(attributes.get("name"))
               .typeCode(type.getCode())
               .resourceRecordCount(count)
               .modified(dateService.iso8601DateParse(attributes.get("modified"))).build();
   }
  }
}

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

@Override
  public void startElement(String uri, String localName, String qName, Attributes attrs) {
   Map<String, String> attributes = cleanseAttributes(attrs);
   if (equalsOrSuffix(qName, "GeneralZoneProperties")) {
     Type type = Type.valueOf(checkNotNull(attributes.get("zoneType"), "zoneType").toUpperCase());
     int count = Integer.parseInt(checkNotNull(attributes.get("resourceRecordCount"), "resourceRecordCount"));
     zone = ZoneProperties.builder()
               .name(attributes.get("name"))
               .typeCode(type.getCode())
               .resourceRecordCount(count)
               .modified(dateService.iso8601DateParse(attributes.get("modified"))).build();
   }
  }
}

代码示例来源:origin: io.cloudsoft.jclouds.provider/ultradns-ws

@Override
  public void startElement(String uri, String localName, String qName, Attributes attrs) {
   Map<String, String> attributes = cleanseAttributes(attrs);
   if (equalsOrSuffix(qName, "GeneralZoneProperties")) {
     Type type = Type.valueOf(checkNotNull(attributes.get("zoneType"), "zoneType").toUpperCase());
     int count = Integer.parseInt(checkNotNull(attributes.get("resourceRecordCount"), "resourceRecordCount"));
     zone = ZoneProperties.builder()
               .name(attributes.get("name"))
               .typeCode(type.getCode())
               .resourceRecordCount(count)
               .modified(dateService.iso8601DateParse(attributes.get("modified"))).build();
   }
  }
}

代码示例来源:origin: org.apache.jclouds.provider/ultradns-ws

@Override
  public void startElement(String uri, String localName, String qName, Attributes attrs) {
   Map<String, String> attributes = cleanseAttributes(attrs);
   if (equalsOrSuffix(qName, "GeneralZoneProperties")) {
     Type type = Type.valueOf(checkNotNull(attributes.get("zoneType"), "zoneType").toUpperCase());
     int count = Integer.parseInt(checkNotNull(attributes.get("resourceRecordCount"), "resourceRecordCount"));
     zone = ZoneProperties.builder()
               .name(attributes.get("name"))
               .typeCode(type.getCode())
               .resourceRecordCount(count)
               .modified(dateService.iso8601DateParse(attributes.get("modified"))).build();
   }
  }
}

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

public ZoneProperties expected() {
   return ZoneProperties.builder()
              .name("jclouds.org.")
              .typeCode(1)
              .resourceRecordCount(17)
              .modified(new SimpleDateFormatDateService().iso8601DateParse("2010-09-05 04:04:17.0"))
              .build();
  }
}

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

public ZoneProperties expected() {
   return ZoneProperties.builder()
              .name("jclouds.org.")
              .typeCode(1)
              .resourceRecordCount(17)
              .modified(new SimpleDateFormatDateService().iso8601DateParse("2010-09-05 04:04:17.0"))
              .build();
  }
}

相关文章