Class KeystoneCredential
- java.lang.Object
-
- org.openstack4j.openstack.identity.v3.domain.KeystoneCredential
-
- All Implemented Interfaces:
Serializable,Buildable<CredentialBuilder>,Credential,ModelEntity
public class KeystoneCredential extends Object implements Credential
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKeystoneCredential.CredentialConcreteBuilderstatic classKeystoneCredential.Credentials-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description KeystoneCredential()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CredentialBuilderbuilder()StringgetBlob()the credential itself as serialized blobStringgetId()Map<String,String>getLinks()StringgetProjectId()StringgetType()StringgetUserId()inthashCode()CredentialBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static CredentialBuilder builder()
- Returns:
- the credential builder
-
toBuilder
public CredentialBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<CredentialBuilder>
-
getId
public String getId()
- Specified by:
getIdin interfaceCredential- Returns:
- the id of the credential
-
getUserId
public String getUserId()
- Specified by:
getUserIdin interfaceCredential- Returns:
- the id of the user who owns the credential
-
getProjectId
public String getProjectId()
- Specified by:
getProjectIdin interfaceCredential- Returns:
- the id of the associated project
-
getType
public String getType()
- Specified by:
getTypein interfaceCredential- Returns:
- the credential type such as 'ec2', 'cert'
-
getBlob
public String getBlob()
Description copied from interface:Credentialthe credential itself as serialized blob- Specified by:
getBlobin interfaceCredential- Returns:
- the blob the credential
-
getLinks
public Map<String,String> getLinks()
- Specified by:
getLinksin interfaceCredential- Returns:
- the links for the credential resource
-
-