@Immutable @Beta public class ProtectionEndpointIntent extends Intent
Modifier and Type | Class and Description |
---|---|
static class |
ProtectionEndpointIntent.Builder
Builder for
ProtectionEndpointIntent . |
DEFAULT_INTENT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY
Modifier | Constructor and Description |
---|---|
protected |
ProtectionEndpointIntent(ApplicationId appId,
Key key,
java.util.Collection<NetworkResource> resources,
int priority,
DeviceId deviceId,
ProtectedTransportEndpointDescription description)
Deprecated.
1.9.1
|
protected |
ProtectionEndpointIntent(ApplicationId appId,
Key key,
java.util.Collection<NetworkResource> resources,
int priority,
DeviceId deviceId,
ProtectedTransportEndpointDescription description,
ResourceGroup resourceGroup)
Creates a ProtectionEndpointIntent by specific resource and description.
|
Modifier and Type | Method and Description |
---|---|
static ProtectionEndpointIntent.Builder |
builder()
Returns a new
ProtectionEndpointIntent builder. |
ProtectedTransportEndpointDescription |
description()
Returns the description of this protection endpoint.
|
DeviceId |
deviceId()
Returns the identifier of the device to be configured.
|
boolean |
isInstallable()
Indicates whether or not the intent is installable.
|
java.lang.String |
toString() |
appId, bindIdGenerator, equals, hashCode, id, key, priority, resourceGroup, resources, unbindIdGenerator
@Deprecated protected ProtectionEndpointIntent(ApplicationId appId, Key key, java.util.Collection<NetworkResource> resources, int priority, DeviceId deviceId, ProtectedTransportEndpointDescription description)
appId
- application identificationkey
- intent keyresources
- network resource to be setpriority
- priority to use for flows from this intentdeviceId
- target device iddescription
- protected transport endpoint description of the intentprotected ProtectionEndpointIntent(ApplicationId appId, Key key, java.util.Collection<NetworkResource> resources, int priority, DeviceId deviceId, ProtectedTransportEndpointDescription description, ResourceGroup resourceGroup)
appId
- application identificationkey
- intent keyresources
- network resource to be setpriority
- priority to use for flows from this intentdeviceId
- target device iddescription
- protected transport endpoint description of the intentresourceGroup
- resource group for this intentpublic DeviceId deviceId()
public ProtectedTransportEndpointDescription description()
public boolean isInstallable()
Intent
isInstallable
in class Intent
public java.lang.String toString()
toString
in class java.lang.Object
public static ProtectionEndpointIntent.Builder builder()
ProtectionEndpointIntent
builder.