Class GbpPolicyClassifier
- java.lang.Object
-
- org.openstack4j.openstack.gbp.domain.GbpPolicyClassifier
-
- All Implemented Interfaces:
Serializable,Buildable<PolicyClassifierBuilder>,BasicResource,IdEntity,Resource,PolicyClassifier,ModelEntity
public class GbpPolicyClassifier extends Object implements PolicyClassifier
Model implementation for Policy Classifier- Author:
- vinod borole
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGbpPolicyClassifier.PolicyClassifierConcreteBuilderstatic classGbpPolicyClassifier.PolicyClassifiers-
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 GbpPolicyClassifier()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolicyClassifierBuilderbuilder()StringgetDescription()Gets the descriptionDirectiongetDirection()Gets the DirectionStringgetId()StringgetName()StringgetPortRange()Gets the Port rangeProtocolgetProtocol()Gets the ProtocolStringgetTenantId()booleanisShared()Is Policy classifier sharedvoidsetId(String id)Sets the identifier for this resource.voidsetName(String name)Sets the name for this resourcevoidsetTenantId(String tenantId)Sets the tenant identifierPolicyClassifierBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static PolicyClassifierBuilder builder()
-
toBuilder
public PolicyClassifierBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<PolicyClassifierBuilder>
-
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
-
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
-
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
-
getDescription
public String getDescription()
Description copied from interface:PolicyClassifierGets the description- Specified by:
getDescriptionin interfacePolicyClassifier- Returns:
- the description
-
getDirection
public Direction getDirection()
Description copied from interface:PolicyClassifierGets the Direction- Specified by:
getDirectionin interfacePolicyClassifier- Returns:
- the Direction
-
getPortRange
public String getPortRange()
Description copied from interface:PolicyClassifierGets the Port range- Specified by:
getPortRangein interfacePolicyClassifier- Returns:
- the Port range
-
getProtocol
public Protocol getProtocol()
Description copied from interface:PolicyClassifierGets the Protocol- Specified by:
getProtocolin interfacePolicyClassifier- Returns:
- the Protocol
-
isShared
public boolean isShared()
Description copied from interface:PolicyClassifierIs Policy classifier shared- Specified by:
isSharedin interfacePolicyClassifier- Returns:
- the true if shared and false if not shared
-
-