public static class GbpPolicyRuleSet.PolicyRuleSetConcreteBuilder extends Object implements PolicyRuleSetBuilder
Constructor and Description |
---|
PolicyRuleSetConcreteBuilder() |
PolicyRuleSetConcreteBuilder(GbpPolicyRuleSet gbpPolicyRuleSet) |
Modifier and Type | Method and Description |
---|---|
PolicyRuleSet |
build()
Creates and return the Model Entity M
|
PolicyRuleSetBuilder |
description(String description) |
PolicyRuleSetBuilder |
from(PolicyRuleSet in)
Creates a Builder using the param M as the default values
|
PolicyRuleSetBuilder |
name(String name) |
PolicyRuleSetBuilder |
rules(List<String> ruleIds) |
PolicyRuleSetBuilder |
shared(boolean shared) |
public PolicyRuleSetConcreteBuilder(GbpPolicyRuleSet gbpPolicyRuleSet)
public PolicyRuleSetConcreteBuilder()
public PolicyRuleSet build()
Buildable.Builder
build
in interface Buildable.Builder<PolicyRuleSetBuilder,PolicyRuleSet>
public PolicyRuleSetBuilder from(PolicyRuleSet in)
Buildable.Builder
from
in interface Buildable.Builder<PolicyRuleSetBuilder,PolicyRuleSet>
public PolicyRuleSetBuilder name(String name)
name
in interface PolicyRuleSetBuilder
public PolicyRuleSetBuilder description(String description)
description
in interface PolicyRuleSetBuilder
public PolicyRuleSetBuilder shared(boolean shared)
shared
in interface PolicyRuleSetBuilder
public PolicyRuleSetBuilder rules(List<String> ruleIds)
rules
in interface PolicyRuleSetBuilder
Copyright © 2017. All rights reserved.