public static final class DomainPointToPointIntent.Builder extends DomainIntent.Builder
constraints, treatment
appId, key, priority, resourceGroup, resources
Modifier and Type | Method and Description |
---|---|
DomainPointToPointIntent.Builder |
appId(ApplicationId appId)
Sets the application id for the intent that will be built.
|
DomainPointToPointIntent |
build()
Builds a point to point domain intent from the accumulated parameters.
|
DomainPointToPointIntent.Builder |
constraints(java.util.List<Constraint> constraints)
Sets the constraints for the intent that will be built.
|
DomainPointToPointIntent.Builder |
filteredEgressPoint(FilteredConnectPoint egressPoint)
Sets the filtered egress point of the domain point to point intent
that will be built.
|
DomainPointToPointIntent.Builder |
filteredIngressPoint(FilteredConnectPoint ingressPoint)
Sets the filtered ingress point of the domain point to point intent
that will be built.
|
DomainPointToPointIntent.Builder |
key(Key key)
Sets the key for the intent that will be built.
|
DomainPointToPointIntent.Builder |
links(java.util.List<Link> links)
Sets the links of the point to domain point intent that will be built.
|
DomainPointToPointIntent.Builder |
priority(int priority)
Sets the priority for the intent that will be built.
|
DomainPointToPointIntent.Builder |
treatment(TrafficTreatment treatment)
Sets the traffic treatment for the intent that will be built.
|
resourceGroup, resources
public DomainPointToPointIntent.Builder appId(ApplicationId appId)
Intent.Builder
appId
in class DomainIntent.Builder
appId
- application id to use for built intentpublic DomainPointToPointIntent.Builder key(Key key)
Intent.Builder
key
in class DomainIntent.Builder
key
- key to use for built intentpublic DomainPointToPointIntent.Builder priority(int priority)
Intent.Builder
priority
in class DomainIntent.Builder
priority
- priority to use for built intentpublic DomainPointToPointIntent.Builder treatment(TrafficTreatment treatment)
DomainIntent.Builder
treatment
in class DomainIntent.Builder
treatment
- treatment to use for built intentpublic DomainPointToPointIntent.Builder constraints(java.util.List<Constraint> constraints)
DomainIntent.Builder
constraints
in class DomainIntent.Builder
constraints
- constraints to use for built intentpublic DomainPointToPointIntent.Builder filteredIngressPoint(FilteredConnectPoint ingressPoint)
ingressPoint
- single ingress connect pointpublic DomainPointToPointIntent.Builder filteredEgressPoint(FilteredConnectPoint egressPoint)
egressPoint
- single egress connect pointpublic DomainPointToPointIntent.Builder links(java.util.List<Link> links)
links
- links for the intentpublic DomainPointToPointIntent build()