@Beta public class FlowRuleIntent extends Intent
Intent.BuilderDEFAULT_INTENT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY| Modifier | Constructor and Description |
|---|---|
protected |
FlowRuleIntent()
Constructor for serializer.
|
|
FlowRuleIntent(ApplicationId appId,
Key key,
java.util.Collection<FlowRule> flowRules,
java.util.Collection<NetworkResource> resources)
Deprecated.
1.9.1
|
|
FlowRuleIntent(ApplicationId appId,
Key key,
java.util.Collection<FlowRule> flowRules,
java.util.Collection<NetworkResource> resources,
PathIntent.ProtectionType primary)
Deprecated.
1.9.1
|
|
FlowRuleIntent(ApplicationId appId,
Key key,
java.util.Collection<FlowRule> flowRules,
java.util.Collection<NetworkResource> resources,
PathIntent.ProtectionType primary,
ResourceGroup resourceGroup)
Creates a flow rule intent with the specified key, flow rules to be set, and
required network resources.
|
|
FlowRuleIntent(ApplicationId appId,
java.util.List<FlowRule> flowRules,
java.util.Collection<NetworkResource> resources)
Deprecated.
1.9.1
|
|
FlowRuleIntent(ApplicationId appId,
java.util.List<FlowRule> flowRules,
java.util.Collection<NetworkResource> resources,
PathIntent.ProtectionType type)
Deprecated.
1.9.1
|
|
FlowRuleIntent(FlowRuleIntent intent,
PathIntent.ProtectionType type)
Creates a flow rule intent with all the same characteristics as the given
one except for the flow rule type.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<FlowRule> |
flowRules()
Returns a collection of flow rules to be set.
|
boolean |
isInstallable()
Indicates whether or not the intent is installable.
|
java.lang.String |
toString() |
PathIntent.ProtectionType |
type() |
appId, bindIdGenerator, equals, hashCode, id, key, priority, resourceGroup, resources, unbindIdGenerator@Deprecated public FlowRuleIntent(ApplicationId appId, java.util.List<FlowRule> flowRules, java.util.Collection<NetworkResource> resources)
appId - application idflowRules - flow rules to be setresources - network resource to be set@Deprecated public FlowRuleIntent(ApplicationId appId, java.util.List<FlowRule> flowRules, java.util.Collection<NetworkResource> resources, PathIntent.ProtectionType type)
appId - application idflowRules - flow rules to be setresources - network resource to be settype - protection type@Deprecated public FlowRuleIntent(ApplicationId appId, Key key, java.util.Collection<FlowRule> flowRules, java.util.Collection<NetworkResource> resources)
appId - application idkey - keyflowRules - flow rulesresources - network resources@Deprecated public FlowRuleIntent(ApplicationId appId, Key key, java.util.Collection<FlowRule> flowRules, java.util.Collection<NetworkResource> resources, PathIntent.ProtectionType primary)
appId - application idkey - keyflowRules - flow rulesresources - network resourcesprimary - primary protection typepublic FlowRuleIntent(ApplicationId appId, Key key, java.util.Collection<FlowRule> flowRules, java.util.Collection<NetworkResource> resources, PathIntent.ProtectionType primary, ResourceGroup resourceGroup)
appId - application idkey - keyflowRules - flow rulesresources - network resourcesprimary - primary protection typeresourceGroup - resource group for this intentpublic FlowRuleIntent(FlowRuleIntent intent, PathIntent.ProtectionType type)
intent - original flow rule intenttype - new protection typeprotected FlowRuleIntent()
public java.util.Collection<FlowRule> flowRules()
public boolean isInstallable()
IntentisInstallable in class Intentpublic PathIntent.ProtectionType type()
public java.lang.String toString()
toString in class java.lang.Object