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

    checkOvfSectionType(val);
  }
Example #2
0
 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());
 }