Interface NetQosPolicyBuilder
-
- All Superinterfaces:
Buildable.Builder<NetQosPolicyBuilder,NetQosPolicy>
- All Known Implementing Classes:
NeutronNetQosPolicy.NetQosPolicyConcreteBuilder
public interface NetQosPolicyBuilder extends Buildable.Builder<NetQosPolicyBuilder,NetQosPolicy>
A Builder which creates a NetQosPolicy entity- Author:
- bboyHan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetQosPolicyBuilder
description(String description)
SeeNetQosPolicy.getDescription()
for detailsNetQosPolicyBuilder
isDefault(boolean isDefault)
SeeNetQosPolicy.isDefault()
for detailsNetQosPolicyBuilder
name(String name)
SeeNetQosPolicy.getName()
for detailsNetQosPolicyBuilder
shared(boolean shared)
SeeNetQosPolicy.isShared()
for detailsNetQosPolicyBuilder
tenantId(String tenantId)
SeeNetQosPolicy.getTenantId()
for details-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
description
NetQosPolicyBuilder description(String description)
SeeNetQosPolicy.getDescription()
for details- Parameters:
description
- qos description- Returns:
- NetQosPolicyBuilder
-
tenantId
NetQosPolicyBuilder tenantId(String tenantId)
SeeNetQosPolicy.getTenantId()
for details- Parameters:
tenantId
- tenantId- Returns:
- NetQosPolicyBuilder
-
shared
NetQosPolicyBuilder shared(boolean shared)
SeeNetQosPolicy.isShared()
for details- Parameters:
shared
- true or false- Returns:
- NetQosPolicyBuilder
-
isDefault
NetQosPolicyBuilder isDefault(boolean isDefault)
SeeNetQosPolicy.isDefault()
for details- Parameters:
isDefault
- if True, the QoS policy is the default policy.- Returns:
- NetQosPolicyBuilder
-
name
NetQosPolicyBuilder name(String name)
SeeNetQosPolicy.getName()
for details- Parameters:
name
- human-readable name- Returns:
- NetQosPolicyBuilder
-
-