@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,
                        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. 
 | 
String | 
toString()  | 
appId, bindIdGenerator, equals, hashCode, id, key, priority, resourceGroup, resources, unbindIdGeneratorprotected ProtectionEndpointIntent(ApplicationId appId, Key key, 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()
IntentisInstallable in class Intentpublic static ProtectionEndpointIntent.Builder builder()
ProtectionEndpointIntent builder.