Class NeutronPortChain
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.NeutronPortChain
-
- All Implemented Interfaces:
Serializable,Buildable<PortChainBuilder>,BasicResource,IdEntity,Resource,ModelEntity,PortChain
public class NeutronPortChain extends Object implements PortChain
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeutronPortChain.PortChainConcreteBuilderstatic classNeutronPortChain.PortChains-
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 NeutronPortChain()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PortChainBuilderbuilder()StringgetChainId()Map<String,String>getChainParameters()StringgetDescription()List<String>getFlowClassifiers()StringgetId()StringgetName()List<String>getPortPairGroups()StringgetTenantId()voidsetChainId(String chainId)voidsetChainParameters(Map<String,String> chainParameters)voidsetFlowClassifiers(List<String> flowClassifiers)voidsetId(String id)Sets the identifier for this resource.voidsetName(String name)Sets the name for this resourcevoidsetPortPairGroups(List<String> portPairGroups)voidsetTenantId(String tenantId)Sets the tenant identifierPortChainBuildertoBuilder()
-
-
-
Method Detail
-
builder
public static PortChainBuilder 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- 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
-
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 interfacePortChain- Returns:
- description : Human readable description for the port chain
-
getChainId
public String getChainId()
- Specified by:
getChainIdin interfacePortChain- Returns:
- chainId : an id on openstack.
It is not equal to
id.
-
setChainId
public void setChainId(String chainId)
-
getFlowClassifiers
public List<String> getFlowClassifiers()
- Specified by:
getFlowClassifiersin interfacePortChain- Returns:
- flow classifiers : list of ids
-
getPortPairGroups
public List<String> getPortPairGroups()
- Specified by:
getPortPairGroupsin interfacePortChain- Returns:
- port pair groups : list of ids
-
getChainParameters
public Map<String,String> getChainParameters()
- Specified by:
getChainParametersin interfacePortChain- Returns:
- Chain Parameters
-
toBuilder
public PortChainBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<PortChainBuilder>
-
-