Class NeutronNetQosPolicyBandwidthLimitRule
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.NeutronNetQosPolicyBandwidthLimitRule
-
- All Implemented Interfaces:
Serializable,Buildable<NetQosPolicyBandwidthLimitRuleBuilder>,IdEntity,ModelEntity,NetQosPolicyBandwidthLimitRule
public class NeutronNetQosPolicyBandwidthLimitRule extends Object implements NetQosPolicyBandwidthLimitRule
Network qos policy band-width-limit that are bound to a Tenant- Author:
- bboyHan, slankka
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeutronNetQosPolicyBandwidthLimitRule.NetQosPolicyBandwidthLimitRuleConcreteBuilderstatic classNeutronNetQosPolicyBandwidthLimitRule.NeutronNetQosPolicyBLRules-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
Nested classes/interfaces inherited from interface org.openstack4j.model.network.ext.NetQosPolicyBandwidthLimitRule
NetQosPolicyBandwidthLimitRule.Direction
-
-
Constructor Summary
Constructors Constructor Description NeutronNetQosPolicyBandwidthLimitRule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NetQosPolicyBandwidthLimitRuleBuilderbuilder()NetQosPolicyBandwidthLimitRule.DirectiongetDirection()The direction of the traffic to which the QoS rule is applied, as seen from the point of view of the port.StringgetDirectionValue()StringgetId()IntegergetMaxBurstKbps()The maximum burst size (in kilobits).IntegergetMaxKbps()The maximum KBPS (kilobits per second) value.NeutronNetQosPolicyRuleTaggetTags()The list of tags on the resource.voidsetId(String id)Sets the identifier for this resource.NetQosPolicyBandwidthLimitRuleBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static NetQosPolicyBandwidthLimitRuleBuilder builder()
-
toBuilder
public NetQosPolicyBandwidthLimitRuleBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<NetQosPolicyBandwidthLimitRuleBuilder>
-
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
-
getMaxKbps
public Integer getMaxKbps()
Description copied from interface:NetQosPolicyBandwidthLimitRuleThe maximum KBPS (kilobits per second) value. If you specify this value, must be greater than 0 otherwise max_kbps will have no value.- Specified by:
getMaxKbpsin interfaceNetQosPolicyBandwidthLimitRule- Returns:
- maxKbps
-
getMaxBurstKbps
public Integer getMaxBurstKbps()
Description copied from interface:NetQosPolicyBandwidthLimitRuleThe maximum burst size (in kilobits).- Specified by:
getMaxBurstKbpsin interfaceNetQosPolicyBandwidthLimitRule- Returns:
- maxBurstKbps
-
getDirection
public NetQosPolicyBandwidthLimitRule.Direction getDirection()
Description copied from interface:NetQosPolicyBandwidthLimitRuleThe direction of the traffic to which the QoS rule is applied, as seen from the point of view of the port. Valid values are egress and ingress. Default value is egress.- Specified by:
getDirectionin interfaceNetQosPolicyBandwidthLimitRule- Returns:
- direction
-
getDirectionValue
public String getDirectionValue()
- Specified by:
getDirectionValuein interfaceNetQosPolicyBandwidthLimitRule
-
getTags
public NeutronNetQosPolicyRuleTag getTags()
Description copied from interface:NetQosPolicyBandwidthLimitRuleThe list of tags on the resource.- Specified by:
getTagsin interfaceNetQosPolicyBandwidthLimitRule- Returns:
- tags
-
-