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