com.cloudera.api.model
Class ApiLicense

java.lang.Object
  extended by com.cloudera.api.model.ApiLicense

public class ApiLicense
extends Object

Information about the Cloudera Manager license.


Constructor Summary
ApiLicense()
           
ApiLicense(String owner, String uuid, Date expiration)
           
 
Method Summary
 boolean equals(Object o)
           
 Date getExpiration()
          The expiration date.
 String getOwner()
          The owner (organization name) of the license.
 String getUuid()
          A UUID of this license.
 int hashCode()
           
 void setExpiration(Date expiration)
           
 void setOwner(String owner)
           
 void setUuid(String uuid)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiLicense

public ApiLicense()

ApiLicense

public ApiLicense(String owner,
                  String uuid,
                  Date expiration)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getOwner

public String getOwner()
The owner (organization name) of the license.


setOwner

public void setOwner(String owner)

getUuid

public String getUuid()
A UUID of this license.


setUuid

public void setUuid(String uuid)

getExpiration

public Date getExpiration()
The expiration date.


setExpiration

public void setExpiration(Date expiration)


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.