public class Rule extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Rule.Builder<ParameterizedBuilderType> |
static class |
Rule.CreateBuilder
This is used to build a CreateBuilder object.
|
static class |
Rule.CreateRule
Create and Update options - extend the domain class, passed to API update and create calls.
|
Modifier | Constructor and Description |
---|---|
protected |
Rule(String id,
String tenantId,
RuleDirection direction,
String securityGroupId,
RuleEthertype ethertype,
Integer portRangeMin,
Integer portRangeMax,
RuleProtocol protocol,
String remoteGroupId,
String remoteIpPrefix) |
Modifier and Type | Method and Description |
---|---|
static Rule.CreateBuilder |
createBuilder(RuleDirection direction,
String securityGroupId) |
boolean |
equals(Object o) |
RuleDirection |
getDirection() |
RuleEthertype |
getEthertype() |
String |
getId() |
Integer |
getPortRangeMax() |
Integer |
getPortRangeMin() |
RuleProtocol |
getProtocol() |
String |
getRemoteGroupId() |
String |
getRemoteIpPrefix() |
String |
getSecurityGroupId() |
String |
getTenantId() |
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"id","tenant_id","direction","security_group_id","ethertype","port_range_min","port_range_max","protocol","remote_group_id","remote_ip_prefix"}) protected Rule(String id, String tenantId, RuleDirection direction, String securityGroupId, RuleEthertype ethertype, Integer portRangeMin, Integer portRangeMax, RuleProtocol protocol, String remoteGroupId, String remoteIpPrefix)
@Nullable public String getTenantId()
@Nullable public RuleDirection getDirection()
@Nullable public String getSecurityGroupId()
@Nullable public RuleEthertype getEthertype()
@Nullable public Integer getPortRangeMin()
@Nullable public Integer getPortRangeMax()
@Nullable public RuleProtocol getProtocol()
@Nullable public String getRemoteGroupId()
@Nullable public String getRemoteIpPrefix()
public static Rule.CreateBuilder createBuilder(RuleDirection direction, String securityGroupId)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.