Class GbpPolicyTarget
- java.lang.Object
-
- org.openstack4j.openstack.gbp.domain.GbpPolicyTarget
-
- All Implemented Interfaces:
Serializable,Buildable<PolicyTargetBuilder>,BasicResource,IdEntity,Resource,PolicyTarget,ModelEntity
public class GbpPolicyTarget extends Object implements PolicyTarget
Model implementation for Policy Target- Author:
- vinod borole
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGbpPolicyTarget.PolicyTargetConcreteBuilderstatic classGbpPolicyTarget.PolicyTargets-
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 GbpPolicyTarget()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolicyTargetBuilderbuilder()StringgetClusterId()Gets the cluster IdStringgetDescription()Gets the descriptionStringgetId()StringgetName()StringgetPolicyTargetGroupId()Gets the Policy Target Group IdStringgetPortId()Gets the Port IdStringgetTenantId()voidsetId(String id)Sets the identifier for this resource.voidsetName(String name)Sets the name for this resourcevoidsetTenantId(String tenantId)Sets the tenant identifierPolicyTargetBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static PolicyTargetBuilder builder()
-
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:PolicyTargetGets the description- Specified by:
getDescriptionin interfacePolicyTarget- Returns:
- the description
-
getClusterId
public String getClusterId()
Description copied from interface:PolicyTargetGets the cluster Id- Specified by:
getClusterIdin interfacePolicyTarget- Returns:
- the cluster Id
-
getPolicyTargetGroupId
public String getPolicyTargetGroupId()
Description copied from interface:PolicyTargetGets the Policy Target Group Id- Specified by:
getPolicyTargetGroupIdin interfacePolicyTarget- Returns:
- the Policy Target Group Id
-
getPortId
public String getPortId()
Description copied from interface:PolicyTargetGets the Port Id- Specified by:
getPortIdin interfacePolicyTarget- Returns:
- the Port Id
-
toBuilder
public PolicyTargetBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<PolicyTargetBuilder>
-
-