org.jclouds.cim
Class SettingData

java.lang.Object
  extended by org.jclouds.cim.SettingData
All Implemented Interfaces:
Comparable<SettingData>
Direct Known Subclasses:
ManagedElement

public abstract class SettingData
extends Object
implements Comparable<SettingData>

The type of resource this allocation setting represents.

Author:
Adrian Cole
See Also:

Nested Class Summary
static class SettingData.Builder
           
 
Field Summary
protected  String elementName
           
protected  String instanceID
           
 
Constructor Summary
SettingData(String elementName, String instanceID)
           
 
Method Summary
static SettingData.Builder builder()
           
 int compareTo(SettingData o)
          
 boolean equals(Object obj)
           
 String getElementName()
          The user-friendly name for this instance of SettingData.
 String getInstanceID()
          Within the scope of the instantiating Namespace, InstanceID opaquely and uniquely identifies an instance of this class.
 int hashCode()
           
 SettingData.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

elementName

protected final String elementName

instanceID

protected final String instanceID
Constructor Detail

SettingData

public SettingData(String elementName,
                   String instanceID)
Method Detail

builder

public static SettingData.Builder builder()

toBuilder

public SettingData.Builder toBuilder()

getElementName

public String getElementName()
The user-friendly name for this instance of SettingData. In addition, the user-friendly name can be used as an index property for a search or query. (Note: The name does not have to be unique within a namespace.)


getInstanceID

public String getInstanceID()
Within the scope of the instantiating Namespace, InstanceID opaquely and uniquely identifies an instance of this class.


hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(SettingData o)

Specified by:
compareTo in interface Comparable<SettingData>


Copyright © 2009-2011 jclouds. All Rights Reserved.