com.cloudera.api.model
Class ApiExternalAccount

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

public class ApiExternalAccount
extends Object

Represents an instantiation of an external account type, referencing a supported external account type, via the typeName field, along with suitable configuration to access an external resource of the provided type. The typeName field must match the name of an external account type.


Constructor Summary
ApiExternalAccount()
           
 
Method Summary
 boolean equals(Object o)
           
 ApiConfigList getAccountConfigs()
          Represents the account configuration for this account.
 Date getCreatedTime()
          Represents the time of creation for this account.
 String getDisplayName()
          Represents a modifiable label to identify this account for user-visible purposes.
 Date getLastModifiedTime()
          Represents the last modification time for this account.
 String getName()
          Represents the intial name of the account; used to uniquely identify this account.
 String getTypeName()
          Represents the Type ID of a supported external account type.
 int hashCode()
           
 void setAccountConfigs(ApiConfigList accountConfigs)
           
 void setCreatedTime(Date createTime)
           
 void setDisplayName(String displayName)
           
 void setLastModifiedTime(Date lastModifiedTime)
           
 void setName(String name)
           
 void setTypeName(String typeName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiExternalAccount

public ApiExternalAccount()
Method Detail

getName

public String getName()
Represents the intial name of the account; used to uniquely identify this account.


setName

public void setName(String name)

getDisplayName

public String getDisplayName()
Represents a modifiable label to identify this account for user-visible purposes.


setDisplayName

public void setDisplayName(String displayName)

getCreatedTime

public Date getCreatedTime()
Represents the time of creation for this account.


setCreatedTime

public void setCreatedTime(Date createTime)

getLastModifiedTime

public Date getLastModifiedTime()
Represents the last modification time for this account.


setLastModifiedTime

public void setLastModifiedTime(Date lastModifiedTime)

getTypeName

public String getTypeName()
Represents the Type ID of a supported external account type. The type represented by this field dictates which configuration options must be defined for this account.


setTypeName

public void setTypeName(String typeName)

getAccountConfigs

public ApiConfigList getAccountConfigs()
Represents the account configuration for this account. When an account is retrieved from the server, the configs returned must match allowed configuration for the type of this account. When specified for creation of a new account or for the update of an existing account, this field must include every required configuration parameter specified in the type's definition, with the account configuration's value field specified to represent the specific configuration desired for this account.


setAccountConfigs

public void setAccountConfigs(ApiConfigList accountConfigs)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


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