public static class KeystoneCredential.CredentialConcreteBuilder extends Object implements CredentialBuilder
Constructor and Description |
---|
CredentialConcreteBuilder() |
Modifier and Type | Method and Description |
---|---|
CredentialBuilder |
blob(String blob) |
Credential |
build()
Creates and return the Model Entity M
|
CredentialBuilder |
from(Credential in)
Creates a Builder using the param M as the default values
|
CredentialBuilder |
id(String id) |
CredentialBuilder |
links(Map<String,String> links) |
CredentialBuilder |
projectId(String projectId) |
CredentialBuilder |
type(String type) |
CredentialBuilder |
userId(String userId) |
public Credential build()
Buildable.Builder
build
in interface Buildable.Builder<CredentialBuilder,Credential>
public CredentialBuilder from(Credential in)
Buildable.Builder
from
in interface Buildable.Builder<CredentialBuilder,Credential>
public CredentialBuilder id(String id)
id
in interface CredentialBuilder
Credential.getId()
public CredentialBuilder userId(String userId)
userId
in interface CredentialBuilder
Credential.getUserId()
public CredentialBuilder projectId(String projectId)
projectId
in interface CredentialBuilder
Credential.getProjectId()
public CredentialBuilder type(String type)
type
in interface CredentialBuilder
Credential.getType()
public CredentialBuilder blob(String blob)
blob
in interface CredentialBuilder
Credential.getBlob()
public CredentialBuilder links(Map<String,String> links)
links
in interface CredentialBuilder
Credential.getLinks()
Copyright © 2017. All rights reserved.