public static class GbpPolicyRule.PolicyRuleConcreteBuilder extends Object implements PolicyRuleBuilder
Constructor and Description |
---|
PolicyRuleConcreteBuilder() |
PolicyRuleConcreteBuilder(GbpPolicyRule gbpPolicyRule) |
Modifier and Type | Method and Description |
---|---|
PolicyRuleBuilder |
actions(List<String> actionIds) |
PolicyRule |
build()
Creates and return the Model Entity M
|
PolicyRuleBuilder |
classifier(String classifierId) |
PolicyRuleBuilder |
description(String description) |
PolicyRuleBuilder |
from(PolicyRule in)
Creates a Builder using the param M as the default values
|
PolicyRuleBuilder |
name(String name) |
PolicyRuleBuilder |
shared(boolean shared) |
public PolicyRuleConcreteBuilder(GbpPolicyRule gbpPolicyRule)
public PolicyRuleConcreteBuilder()
public PolicyRule build()
Buildable.Builder
build
in interface Buildable.Builder<PolicyRuleBuilder,PolicyRule>
public PolicyRuleBuilder from(PolicyRule in)
Buildable.Builder
from
in interface Buildable.Builder<PolicyRuleBuilder,PolicyRule>
public PolicyRuleBuilder name(String name)
name
in interface PolicyRuleBuilder
public PolicyRuleBuilder description(String description)
description
in interface PolicyRuleBuilder
public PolicyRuleBuilder shared(boolean shared)
shared
in interface PolicyRuleBuilder
public PolicyRuleBuilder classifier(String classifierId)
classifier
in interface PolicyRuleBuilder
public PolicyRuleBuilder actions(List<String> actionIds)
actions
in interface PolicyRuleBuilder
Copyright © 2017. All rights reserved.