org.openstack4j.model.identity.v3.Credential Maven / Gradle / Ivy
package org.openstack4j.model.identity.v3;
import java.util.Map;
import org.openstack4j.common.Buildable;
import org.openstack4j.model.ModelEntity;
import org.openstack4j.model.identity.v3.builder.CredentialBuilder;
/**
* Domain model.
*
* @see API reference
*/
public interface Credential extends ModelEntity, Buildable {
/**
* @return the id of the credential
*/
String getId();
/**
* @return the id of the user who owns the credential
*/
String getUserId();
/**
* @return the id of the associated project
*/
String getProjectId();
/**
* @return the credential type such as 'ec2', 'cert'
*/
String getType();
/**
* the credential itself as serialized blob
*
* @return the blob the credential
*/
String getBlob();
/**
* @return the links for the credential resource
*/
Map getLinks();
}