Class NeutronFlowClassifier
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.NeutronFlowClassifier
-
- All Implemented Interfaces:
Serializable,Buildable<FlowClassifierBuilder>,BasicResource,IdEntity,Resource,ModelEntity,FlowClassifier
public class NeutronFlowClassifier extends Object implements FlowClassifier
- Author:
- Dmitry Gerenrot
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeutronFlowClassifier.FlowClassifierConcreteBuilderstatic classNeutronFlowClassifier.FlowClassifiers-
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 NeutronFlowClassifier()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlowClassifierBuilderbuilder()StringgetDescription()StringgetDestinationIpPrefix()IntegergetDestinationPortRangeMax()IntegergetDestinationPortRangeMin()EthertypegetEthertype()StringgetId()Map<String,String>getL7Parameters()StringgetLogicalDestinationPort()StringgetLogicalSourcePort()StringgetName()StringgetProtocol()StringgetSourceIpPrefix()IntegergetSourcePortRangeMax()IntegergetSourcePortRangeMin()StringgetTenantId()voidsetId(String id)Sets the identifier for this resource.voidsetName(String name)Sets the name for this resourcevoidsetTenantId(String tenantId)Sets the tenant identifierFlowClassifierBuildertoBuilder()
-
-
-
Method Detail
-
builder
public static FlowClassifierBuilder 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 interfaceFlowClassifier- Returns:
- description : Human readable description for the flow classifier
-
getProtocol
public String getProtocol()
- Specified by:
getProtocolin interfaceFlowClassifier- Returns:
- protocol : Short name for the protocol (TCP, UDP, etc)
-
getSourcePortRangeMin
public Integer getSourcePortRangeMin()
- Specified by:
getSourcePortRangeMinin interfaceFlowClassifier- Returns:
- rangeMin : Minimum value for the source port, converted to String
-
getSourcePortRangeMax
public Integer getSourcePortRangeMax()
- Specified by:
getSourcePortRangeMaxin interfaceFlowClassifier- Returns:
- rangeMax : Maximum value for the source port, converted to String
-
getDestinationPortRangeMin
public Integer getDestinationPortRangeMin()
- Specified by:
getDestinationPortRangeMinin interfaceFlowClassifier- Returns:
- rangeMin : Minimum value for the destination port, converted to String
-
getDestinationPortRangeMax
public Integer getDestinationPortRangeMax()
- Specified by:
getDestinationPortRangeMaxin interfaceFlowClassifier- Returns:
- rangeMax : Maximum value for the destination port, converted to String
-
getSourceIpPrefix
public String getSourceIpPrefix()
- Specified by:
getSourceIpPrefixin interfaceFlowClassifier- Returns:
- sourcePrefix : Prefix for the source ip addresses
-
getDestinationIpPrefix
public String getDestinationIpPrefix()
- Specified by:
getDestinationIpPrefixin interfaceFlowClassifier- Returns:
- destinationPrefix : Prefix for the destination ip addresses
-
getLogicalSourcePort
public String getLogicalSourcePort()
- Specified by:
getLogicalSourcePortin interfaceFlowClassifier- Returns:
- logicalSourcePort : Id of the port pair at the start of the port chain
-
getLogicalDestinationPort
public String getLogicalDestinationPort()
- Specified by:
getLogicalDestinationPortin interfaceFlowClassifier- Returns:
- logicalDestinationPort : Id of the port pair at the end of the port chain
-
getL7Parameters
public Map<String,String> getL7Parameters()
- Specified by:
getL7Parametersin interfaceFlowClassifier- Returns:
- l7Parameters
-
getEthertype
public Ethertype getEthertype()
- Specified by:
getEthertypein interfaceFlowClassifier- Returns:
- ethertype
-
toBuilder
public FlowClassifierBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<FlowClassifierBuilder>
-
-