public class GbpNetworkServicePolicy extends Object implements NetworkServicePolicy
Modifier and Type | Class and Description |
---|---|
static class |
GbpNetworkServicePolicy.NetworkServicePolicies |
static class |
GbpNetworkServicePolicy.NetworkServicePolicyConcreteBuilder |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Constructor and Description |
---|
GbpNetworkServicePolicy() |
Modifier and Type | Method and Description |
---|---|
static NetworkServicePolicyBuilder |
builder() |
String |
getDescription()
Gets the description of the network service policy
|
List<GbpNetworkServiceParams> |
getGbpNetworkServiceParamsList()
Gets the network service parameters
|
String |
getId() |
String |
getName() |
List<PolicyTargetGroup> |
getPolicyTargetGroupList()
Gets the policy target groups associated with the service policy
|
String |
getTenantId() |
boolean |
isShared()
Is the network service policy shared
|
void |
setDescription(String description) |
void |
setGbpNetworkServiceParamsList(List<GbpNetworkServiceParams> gbpNetworkServiceParamsList) |
void |
setId(String id)
Sets the identifier for this resource.
|
void |
setName(String name)
Sets the name for this resource
|
void |
setShared(boolean shared) |
void |
setTenantId(String tenantId)
Sets the tenant identifier
|
NetworkServicePolicyBuilder |
toBuilder() |
public String getName()
getName
in interface BasicResource
public void setName(String name)
BasicResource
setName
in interface BasicResource
name
- the name to setpublic String getId()
public void setId(String id)
IdEntity
public String getDescription()
NetworkServicePolicy
getDescription
in interface NetworkServicePolicy
public void setDescription(String description)
public boolean isShared()
NetworkServicePolicy
isShared
in interface NetworkServicePolicy
public void setShared(boolean shared)
public String getTenantId()
getTenantId
in interface Resource
public void setTenantId(String tenantId)
Resource
setTenantId
in interface Resource
tenantId
- the tenant id to setpublic List<GbpNetworkServiceParams> getGbpNetworkServiceParamsList()
NetworkServicePolicy
getGbpNetworkServiceParamsList
in interface NetworkServicePolicy
public void setGbpNetworkServiceParamsList(List<GbpNetworkServiceParams> gbpNetworkServiceParamsList)
public List<PolicyTargetGroup> getPolicyTargetGroupList()
NetworkServicePolicy
getPolicyTargetGroupList
in interface NetworkServicePolicy
public NetworkServicePolicyBuilder toBuilder()
toBuilder
in interface Buildable<NetworkServicePolicyBuilder>
public static NetworkServicePolicyBuilder builder()
Copyright © 2017. All rights reserved.