public static class GbpExternalPolicyCreate.ExternalPolicyConcreteBuilder extends Object implements ExternalPolicyBuilder
Constructor and Description |
---|
ExternalPolicyConcreteBuilder() |
ExternalPolicyConcreteBuilder(GbpExternalPolicyCreate gbpExternalPolicy) |
Modifier and Type | Method and Description |
---|---|
ExternalPolicyCreate |
build()
Creates and return the Model Entity M
|
ExternalPolicyBuilder |
consumedPolicyRuleSets(List<String> policyRuleSet) |
ExternalPolicyBuilder |
description(String description) |
ExternalPolicyBuilder |
externalSegments(List<String> externalSegmentIds) |
ExternalPolicyBuilder |
from(ExternalPolicyCreate in)
Creates a Builder using the param M as the default values
|
ExternalPolicyBuilder |
isShared(boolean shared) |
ExternalPolicyBuilder |
name(String name) |
ExternalPolicyBuilder |
providedPolicyRuleSets(List<String> policyRuleSet) |
public ExternalPolicyConcreteBuilder()
public ExternalPolicyConcreteBuilder(GbpExternalPolicyCreate gbpExternalPolicy)
public ExternalPolicyCreate build()
Buildable.Builder
build
in interface Buildable.Builder<ExternalPolicyBuilder,ExternalPolicyCreate>
public ExternalPolicyBuilder from(ExternalPolicyCreate in)
Buildable.Builder
from
in interface Buildable.Builder<ExternalPolicyBuilder,ExternalPolicyCreate>
public ExternalPolicyBuilder name(String name)
name
in interface ExternalPolicyBuilder
public ExternalPolicyBuilder description(String description)
description
in interface ExternalPolicyBuilder
public ExternalPolicyBuilder isShared(boolean shared)
isShared
in interface ExternalPolicyBuilder
public ExternalPolicyBuilder consumedPolicyRuleSets(List<String> policyRuleSet)
consumedPolicyRuleSets
in interface ExternalPolicyBuilder
public ExternalPolicyBuilder providedPolicyRuleSets(List<String> policyRuleSet)
providedPolicyRuleSets
in interface ExternalPolicyBuilder
public ExternalPolicyBuilder externalSegments(List<String> externalSegmentIds)
externalSegments
in interface ExternalPolicyBuilder
Copyright © 2017. All rights reserved.