Class GbpPolicyAction
- java.lang.Object
-
- org.openstack4j.openstack.gbp.domain.GbpPolicyAction
-
- All Implemented Interfaces:
Serializable,Buildable<PolicyActionCreateBuilder>,BasicResource,IdEntity,Resource,PolicyAction,ModelEntity
public class GbpPolicyAction extends Object implements PolicyAction
Model implementation for Policy Action- Author:
- vinod borole
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGbpPolicyAction.PolicyActionConcreteBuilderstatic classGbpPolicyAction.PolicyActions-
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.gbp.PolicyAction
PolicyAction.PolicyActionProtocol
-
-
Constructor Summary
Constructors Constructor Description GbpPolicyAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolicyActionCreateBuilderbuilder()PolicyAction.PolicyActionProtocolgetActionType()Gets the Action TypeStringgetActionValue()Gets the Action valueStringgetDescription()Gets the descriptionStringgetId()StringgetName()StringgetTenantId()booleanisShared()Is Policy Action sharedvoidsetId(String id)Sets the identifier for this resource.voidsetName(String name)Sets the name for this resourcevoidsetTenantId(String tenantId)Sets the tenant identifierPolicyActionCreateBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static PolicyActionCreateBuilder builder()
-
toBuilder
public PolicyActionCreateBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<PolicyActionCreateBuilder>
-
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:PolicyActionGets the description- Specified by:
getDescriptionin interfacePolicyAction- Returns:
- the description
-
isShared
public boolean isShared()
Description copied from interface:PolicyActionIs Policy Action shared- Specified by:
isSharedin interfacePolicyAction- Returns:
- the true if shared and false if not shared
-
getActionType
public PolicyAction.PolicyActionProtocol getActionType()
Description copied from interface:PolicyActionGets the Action Type- Specified by:
getActionTypein interfacePolicyAction- Returns:
- the Action Type
-
getActionValue
public String getActionValue()
Description copied from interface:PolicyActionGets the Action value- Specified by:
getActionValuein interfacePolicyAction- Returns:
- the Action value
-
-