Exemple #1
0
  public static void checkLeaseSettingsSection(LeaseSettingsSection val) {
    if (val.getLinks() != null) {
      for (Link link : val.getLinks()) {
        checkLink(link);
      }
    }

    checkOvfSectionType(val);
  }
 public Builder fromLeaseSettingsSection(LeaseSettingsSection in) {
   return fromSectionType(in)
       .links(in.getLinks())
       .deploymentLeaseInSeconds(in.getDeploymentLeaseInSeconds())
       .storageLeaseInSeconds(in.getStorageLeaseInSeconds())
       .deploymentLeaseExpiration(in.getDeploymentLeaseExpiration())
       .storageLeaseExpiration(in.getStorageLeaseExpiration())
       .href(in.getHref())
       .type(in.getType());
 }