Class NeutronNetQosPolicy
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.NeutronNetQosPolicy
-
- All Implemented Interfaces:
Serializable,Buildable<NetQosPolicyBuilder>,ModelEntity,NetQosPolicy
public class NeutronNetQosPolicy extends Object implements NetQosPolicy
Network qos policy that are bound to a Tenant- Author:
- bboyHan
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeutronNetQosPolicy.NetQosPolicyConcreteBuilderstatic classNeutronNetQosPolicy.NeutronNetQosPolicies-
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 NeutronNetQosPolicy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NetQosPolicyBuilderbuilder()StringgetDescription()A human-readable description for the resource.StringgetId()StringgetName()human-readable nameStringgetProjectId()StringgetRevisionNumber()List<Map<String,String>>getRules()List<String>getTags()StringgetTenantId()The ID of the project that owns the resource.booleanisDefault()if True, the QoS policy is the default policy.booleanisShared()Set to true to share this policy with other projects.NetQosPolicyBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static NetQosPolicyBuilder builder()
-
toBuilder
public NetQosPolicyBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<NetQosPolicyBuilder>
-
getDescription
public String getDescription()
Description copied from interface:NetQosPolicyA human-readable description for the resource. Default is an empty string.- Specified by:
getDescriptionin interfaceNetQosPolicy- Returns:
- Description
-
getTenantId
public String getTenantId()
Description copied from interface:NetQosPolicyThe ID of the project that owns the resource. Only administrative and users with advsvc role can specify a project ID other than their own. You cannot change this value through authorization policies.- Specified by:
getTenantIdin interfaceNetQosPolicy- Returns:
- tenantId
-
getProjectId
public String getProjectId()
-
getRevisionNumber
public String getRevisionNumber()
-
isShared
public boolean isShared()
Description copied from interface:NetQosPolicySet to true to share this policy with other projects. Default is false.- Specified by:
isSharedin interfaceNetQosPolicy- Returns:
- true or false
-
getId
public String getId()
-
isDefault
public boolean isDefault()
Description copied from interface:NetQosPolicyif True, the QoS policy is the default policy.- Specified by:
isDefaultin interfaceNetQosPolicy- Returns:
- true or false
-
getName
public String getName()
Description copied from interface:NetQosPolicyhuman-readable name- Specified by:
getNamein interfaceNetQosPolicy- Returns:
- name
-
-