public static class ProtectionEndpointIntent.Builder extends Intent.Builder
ProtectionEndpointIntent.appId, key, priority, resourceGroup, resources| Modifier | Constructor and Description | 
|---|---|
protected  | 
Builder()
Creates a new empty builder. 
 | 
protected  | 
Builder(ProtectionEndpointIntent intent)
Creates a new builder pre-populated with the information in the given
 intent. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ProtectionEndpointIntent.Builder | 
appId(ApplicationId appId)
Sets the application id for the intent that will be built. 
 | 
ProtectionEndpointIntent | 
build()  | 
ProtectionEndpointIntent.Builder | 
description(ProtectedTransportEndpointDescription description)  | 
ProtectionEndpointIntent.Builder | 
deviceId(DeviceId deviceId)  | 
ProtectionEndpointIntent.Builder | 
key(Key key)
Sets the key for the intent that will be built. 
 | 
ProtectionEndpointIntent.Builder | 
priority(int priority)
Sets the priority for the intent that will be built. 
 | 
ProtectionEndpointIntent.Builder | 
resourceGroup(ResourceGroup resourceGroup)
Sets the resource group for this intent. 
 | 
ProtectionEndpointIntent.Builder | 
resources(Collection<NetworkResource> resources)
Sets the collection of resources required for this intent. 
 | 
protected Builder()
protected Builder(ProtectionEndpointIntent intent)
intent - initial intentpublic ProtectionEndpointIntent.Builder key(Key key)
Intent.Builderkey in class Intent.Builderkey - key to use for built intentpublic ProtectionEndpointIntent.Builder appId(ApplicationId appId)
Intent.BuilderappId in class Intent.BuilderappId - application id to use for built intentpublic ProtectionEndpointIntent.Builder resources(Collection<NetworkResource> resources)
Intent.Builderresources in class Intent.Builderresources - collection of resourcespublic ProtectionEndpointIntent.Builder priority(int priority)
Intent.Builderpriority in class Intent.Builderpriority - priority to use for built intentpublic ProtectionEndpointIntent.Builder resourceGroup(ResourceGroup resourceGroup)
Intent.BuilderresourceGroup in class Intent.BuilderresourceGroup - the resource grouppublic ProtectionEndpointIntent.Builder deviceId(DeviceId deviceId)
public ProtectionEndpointIntent.Builder description(ProtectedTransportEndpointDescription description)
public ProtectionEndpointIntent build()