public class GbpPolicyTargetGroupCreate extends Object implements PolicyTargetGroupCreate
Modifier and Type | Class and Description |
---|---|
static class |
GbpPolicyTargetGroupCreate.PolicyTargetConcreteGroupBuilder |
static class |
GbpPolicyTargetGroupCreate.PolicyTargetGroups |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Constructor and Description |
---|
GbpPolicyTargetGroupCreate() |
Modifier and Type | Method and Description |
---|---|
static PolicyTargetGroupBuilder |
builder() |
Map<String,String> |
getConsumedPolicyRuleSets()
Gets the consumed policy rule sets Ids
|
String |
getDescription()
Gets the description
|
String |
getId() |
String |
getL2PolicyId()
Gets the L2 Policy id
|
String |
getName() |
String |
getNetworkServicePolicyId()
Gets the network service policy id
|
List<String> |
getPolicyTargets()
Gets the list of policy targets
|
Map<String,String> |
getProvidedPolicyRuleSets()
Gets the provided policy rule sets Ids
|
List<String> |
getSubnets()
Gets the subnets
|
String |
getTenantId() |
boolean |
isServiceManagement()
Is service management
|
boolean |
isShared()
Is Policy Target Group shared
|
void |
setId(String id)
Sets the identifier for this resource.
|
void |
setName(String name)
Sets the name for this resource
|
void |
setTenantId(String tenantId)
Sets the tenant identifier
|
PolicyTargetGroupBuilder |
toBuilder() |
String |
toString() |
public PolicyTargetGroupBuilder toBuilder()
toBuilder
in interface Buildable<PolicyTargetGroupBuilder>
public String getTenantId()
getTenantId
in interface Resource
public void setTenantId(String tenantId)
Resource
setTenantId
in interface Resource
tenantId
- the tenant id to setpublic 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()
PolicyTargetGroupCreate
getDescription
in interface PolicyTargetGroupCreate
public Map<String,String> getConsumedPolicyRuleSets()
PolicyTargetGroupCreate
getConsumedPolicyRuleSets
in interface PolicyTargetGroupCreate
public Map<String,String> getProvidedPolicyRuleSets()
PolicyTargetGroupCreate
getProvidedPolicyRuleSets
in interface PolicyTargetGroupCreate
public String getL2PolicyId()
PolicyTargetGroupCreate
getL2PolicyId
in interface PolicyTargetGroupCreate
public String getNetworkServicePolicyId()
PolicyTargetGroupCreate
getNetworkServicePolicyId
in interface PolicyTargetGroupCreate
public List<String> getPolicyTargets()
PolicyTargetGroupCreate
getPolicyTargets
in interface PolicyTargetGroupCreate
public boolean isServiceManagement()
PolicyTargetGroupCreate
isServiceManagement
in interface PolicyTargetGroupCreate
public boolean isShared()
PolicyTargetGroupCreate
isShared
in interface PolicyTargetGroupCreate
public List<String> getSubnets()
PolicyTargetGroupCreate
getSubnets
in interface PolicyTargetGroupCreate
public static PolicyTargetGroupBuilder builder()
Copyright © 2017. All rights reserved.