Class GbpPolicyTargetGroupCreate
- java.lang.Object
-
- org.openstack4j.openstack.gbp.domain.GbpPolicyTargetGroupCreate
-
- All Implemented Interfaces:
Serializable,Buildable<PolicyTargetGroupBuilder>,BasicResource,IdEntity,Resource,PolicyTargetGroupCreate,ModelEntity
public class GbpPolicyTargetGroupCreate extends Object implements PolicyTargetGroupCreate
Model implementation for Policy target group create- Author:
- vinod borole
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGbpPolicyTargetGroupCreate.PolicyTargetConcreteGroupBuilderstatic classGbpPolicyTargetGroupCreate.PolicyTargetGroups-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description GbpPolicyTargetGroupCreate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolicyTargetGroupBuilderbuilder()Map<String,String>getConsumedPolicyRuleSets()Gets the consumed policy rule sets IdsStringgetDescription()Gets the descriptionStringgetId()StringgetL2PolicyId()Gets the L2 Policy idStringgetName()StringgetNetworkServicePolicyId()Gets the network service policy idList<String>getPolicyTargets()Gets the list of policy targetsMap<String,String>getProvidedPolicyRuleSets()Gets the provided policy rule sets IdsList<String>getSubnets()Gets the subnetsStringgetTenantId()booleanisServiceManagement()Is service managementbooleanisShared()Is Policy Target Group sharedvoidsetId(String id)Sets the identifier for this resource.voidsetName(String name)Sets the name for this resourcevoidsetTenantId(String tenantId)Sets the tenant identifierPolicyTargetGroupBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static PolicyTargetGroupBuilder builder()
-
toBuilder
public PolicyTargetGroupBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<PolicyTargetGroupBuilder>
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceResource- Returns:
- the tenant identifier for this resource
-
setTenantId
public void setTenantId(String tenantId)
Description copied from interface:ResourceSets the tenant identifier- Specified by:
setTenantIdin interfaceResource- Parameters:
tenantId- the tenant id to set
-
getName
public String getName()
- Specified by:
getNamein interfaceBasicResource- Returns:
- the name for this resource
-
setName
public void setName(String name)
Description copied from interface:BasicResourceSets the name for this resource- Specified by:
setNamein interfaceBasicResource- Parameters:
name- the name to set
-
getId
public String getId()
-
setId
public void setId(String id)
Description copied from interface:IdEntitySets the identifier for this resource. Note: creating a new resource should not have the idenfier set since OpenStack will assign one on the create call
-
getDescription
public String getDescription()
Description copied from interface:PolicyTargetGroupCreateGets the description- Specified by:
getDescriptionin interfacePolicyTargetGroupCreate- Returns:
- the description
-
getConsumedPolicyRuleSets
public Map<String,String> getConsumedPolicyRuleSets()
Description copied from interface:PolicyTargetGroupCreateGets the consumed policy rule sets Ids- Specified by:
getConsumedPolicyRuleSetsin interfacePolicyTargetGroupCreate- Returns:
- the consumed policy rule sets ids
-
getProvidedPolicyRuleSets
public Map<String,String> getProvidedPolicyRuleSets()
Description copied from interface:PolicyTargetGroupCreateGets the provided policy rule sets Ids- Specified by:
getProvidedPolicyRuleSetsin interfacePolicyTargetGroupCreate- Returns:
- the provided policy rule sets ids
-
getL2PolicyId
public String getL2PolicyId()
Description copied from interface:PolicyTargetGroupCreateGets the L2 Policy id- Specified by:
getL2PolicyIdin interfacePolicyTargetGroupCreate- Returns:
- the L2 Policy id
-
getNetworkServicePolicyId
public String getNetworkServicePolicyId()
Description copied from interface:PolicyTargetGroupCreateGets the network service policy id- Specified by:
getNetworkServicePolicyIdin interfacePolicyTargetGroupCreate- Returns:
- the network service policy id
-
getPolicyTargets
public List<String> getPolicyTargets()
Description copied from interface:PolicyTargetGroupCreateGets the list of policy targets- Specified by:
getPolicyTargetsin interfacePolicyTargetGroupCreate- Returns:
- the list of policy targets
-
isServiceManagement
public boolean isServiceManagement()
Description copied from interface:PolicyTargetGroupCreateIs service management- Specified by:
isServiceManagementin interfacePolicyTargetGroupCreate- Returns:
- True or False
-
isShared
public boolean isShared()
Description copied from interface:PolicyTargetGroupCreateIs Policy Target Group shared- Specified by:
isSharedin interfacePolicyTargetGroupCreate- Returns:
- the true if shared and false if not shared
-
getSubnets
public List<String> getSubnets()
Description copied from interface:PolicyTargetGroupCreateGets the subnets- Specified by:
getSubnetsin interfacePolicyTargetGroupCreate- Returns:
- the subnets
-
-