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 class
NeutronNetQosPolicy.NetQosPolicyConcreteBuilder
static class
NeutronNetQosPolicy.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 NetQosPolicyBuilder
builder()
String
getDescription()
A human-readable description for the resource.String
getId()
String
getName()
human-readable nameString
getProjectId()
String
getRevisionNumber()
List<Map<String,String>>
getRules()
List<String>
getTags()
String
getTenantId()
The ID of the project that owns the resource.boolean
isDefault()
if True, the QoS policy is the default policy.boolean
isShared()
Set to true to share this policy with other projects.NetQosPolicyBuilder
toBuilder()
String
toString()
-
-
-
Method Detail
-
builder
public static NetQosPolicyBuilder builder()
-
toBuilder
public NetQosPolicyBuilder toBuilder()
- Specified by:
toBuilder
in interfaceBuildable<NetQosPolicyBuilder>
-
getDescription
public String getDescription()
Description copied from interface:NetQosPolicy
A human-readable description for the resource. Default is an empty string.- Specified by:
getDescription
in interfaceNetQosPolicy
- Returns:
- Description
-
getTenantId
public String getTenantId()
Description copied from interface:NetQosPolicy
The 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:
getTenantId
in interfaceNetQosPolicy
- Returns:
- tenantId
-
getProjectId
public String getProjectId()
-
getRevisionNumber
public String getRevisionNumber()
-
isShared
public boolean isShared()
Description copied from interface:NetQosPolicy
Set to true to share this policy with other projects. Default is false.- Specified by:
isShared
in interfaceNetQosPolicy
- Returns:
- true or false
-
getId
public String getId()
-
isDefault
public boolean isDefault()
Description copied from interface:NetQosPolicy
if True, the QoS policy is the default policy.- Specified by:
isDefault
in interfaceNetQosPolicy
- Returns:
- true or false
-
getName
public String getName()
Description copied from interface:NetQosPolicy
human-readable name- Specified by:
getName
in interfaceNetQosPolicy
- Returns:
- name
-
-