org.jclouds.vcloud.director.v1_5.domain.org
Class OrgLeaseSettings

java.lang.Object
  extended by org.jclouds.vcloud.director.v1_5.domain.Resource
      extended by org.jclouds.vcloud.director.v1_5.domain.org.OrgLeaseSettings

public class OrgLeaseSettings
extends Resource

Defines default lease durations and policies for an organization.

 <complexType name="OrgLeaseSettings">
   <complexContent>
     <extension base="{http://www.vmware.com/vcloud/v1.5}ResourceType">
       <sequence>
         <element name="DeleteOnStorageLeaseExpiration" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="DeploymentLeaseSeconds" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="StorageLeaseSeconds" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
       </sequence>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class OrgLeaseSettings.Builder<B extends OrgLeaseSettings.Builder<B>>
           
 
Field Summary
 
Fields inherited from class org.jclouds.vcloud.director.v1_5.domain.Resource
logger
 
Constructor Summary
protected OrgLeaseSettings()
           
protected OrgLeaseSettings(OrgLeaseSettings.Builder<?> builder)
           
 
Method Summary
static OrgLeaseSettings.Builder<?> builder()
           
 Boolean deleteOnStorageLeaseExpiration()
          Gets the value of the deleteOnStorageLeaseExpiration property.
 boolean equals(Object o)
           
 Integer getDeploymentLeaseSeconds()
          Gets the value of the deploymentLeaseSeconds property.
 Integer getStorageLeaseSeconds()
          Gets the value of the storageLeaseSeconds property.
 int hashCode()
           
 com.google.common.base.Objects.ToStringHelper string()
           
 OrgLeaseSettings.Builder<?> toBuilder()
           
 
Methods inherited from class org.jclouds.vcloud.director.v1_5.domain.Resource
clone, getHref, getLinks, getType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrgLeaseSettings

protected OrgLeaseSettings()

OrgLeaseSettings

protected OrgLeaseSettings(OrgLeaseSettings.Builder<?> builder)
Method Detail

builder

public static OrgLeaseSettings.Builder<?> builder()

toBuilder

public OrgLeaseSettings.Builder<?> toBuilder()
Overrides:
toBuilder in class Resource

deleteOnStorageLeaseExpiration

public Boolean deleteOnStorageLeaseExpiration()
Gets the value of the deleteOnStorageLeaseExpiration property.

Returns:
possible object is Boolean

getDeploymentLeaseSeconds

public Integer getDeploymentLeaseSeconds()
Gets the value of the deploymentLeaseSeconds property.

Returns:
possible object is Integer

getStorageLeaseSeconds

public Integer getStorageLeaseSeconds()
Gets the value of the storageLeaseSeconds property.

Returns:
possible object is Integer

equals

public boolean equals(Object o)
Overrides:
equals in class Resource

hashCode

public int hashCode()
Overrides:
hashCode in class Resource

string

public com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class Resource


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.