Class NeutronPortPair
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.NeutronPortPair
-
- All Implemented Interfaces:
Serializable,Buildable<PortPairBuilder>,BasicResource,IdEntity,Resource,ModelEntity,PortPair
public class NeutronPortPair extends Object implements PortPair
- Author:
- Dmitry Gerenrot
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeutronPortPair.PortPairConcreteBuilderstatic classNeutronPortPair.PortPairs-
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 NeutronPortPair()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PortPairBuilderbuilder()StringgetDescription()StringgetEgressId()StringgetId()StringgetIngressId()StringgetName()Map<String,String>getServiceFunctionParameters()StringgetTenantId()voidsetDescription(String description)voidsetEgressId(String egressId)voidsetId(String id)Sets the identifier for this resource.voidsetIngressId(String ingressId)voidsetName(String name)Sets the name for this resourcevoidsetServiceFunctionParameters(Map<String,String> serviceFunctionParameters)voidsetTenantId(String tenantId)Sets the tenant identifierPortPairBuildertoBuilder()
-
-
-
Method Detail
-
builder
public static PortPairBuilder builder()
-
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
-
getName
public String getName()
- Specified by:
getNamein interfaceBasicResource- Specified by:
getNamein interfacePortPair- Returns:
- name : Human readable name for the port pair
-
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
-
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
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfacePortPair- Returns:
- description : Human readable description for the port pair
-
setDescription
public void setDescription(String description)
-
getEgressId
public String getEgressId()
- Specified by:
getEgressIdin interfacePortPair- Returns:
- egressId : Id for the egress port
-
setEgressId
public void setEgressId(String egressId)
-
getIngressId
public String getIngressId()
- Specified by:
getIngressIdin interfacePortPair- Returns:
- ingressId : Id for the ingress port
-
setIngressId
public void setIngressId(String ingressId)
-
getServiceFunctionParameters
public Map<String,String> getServiceFunctionParameters()
- Specified by:
getServiceFunctionParametersin interfacePortPair- Returns:
- Service Function Parameters
-
setServiceFunctionParameters
public void setServiceFunctionParameters(Map<String,String> serviceFunctionParameters)
-
toBuilder
public PortPairBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<PortPairBuilder>
-
-