public abstract static class Rule.Builder<ParameterizedBuilderType> extends Object
Modifier and Type | Method and Description |
---|---|
ParameterizedBuilderType |
direction(RuleDirection direction)
The direction in which the security group rule is applied.
|
ParameterizedBuilderType |
ethertype(RuleEthertype ethertype)
The internet protocol version for this rule.
|
ParameterizedBuilderType |
portRangeMax(Integer portRangeMax)
The maximum port number in the range that is matched by the security group rule.
|
ParameterizedBuilderType |
portRangeMin(Integer portRangeMin)
The minimum port number in the range that is matched by the security group rule.
|
ParameterizedBuilderType |
protocol(RuleProtocol protocol)
The protocol that is matched by the security group rule.
|
ParameterizedBuilderType |
remoteGroupId(String remoteGroupId)
The remote group ID to be associated with this security group rule.
|
ParameterizedBuilderType |
remoteIpPrefix(String remoteIpPrefix)
The remote IP prefix to be associated with this security group rule.
|
ParameterizedBuilderType |
securityGroupId(String securityGroupId)
The security group ID to associate with this security group rule.
|
protected abstract ParameterizedBuilderType |
self() |
ParameterizedBuilderType |
tenantId(String tenantId)
The tenant id for this rule.
|
protected Rule rule
protected abstract ParameterizedBuilderType self()
public ParameterizedBuilderType tenantId(String tenantId)
Rule.getTenantId()
public ParameterizedBuilderType direction(RuleDirection direction)
Rule.getDirection()
public ParameterizedBuilderType securityGroupId(String securityGroupId)
Rule.getSecurityGroupId()
public ParameterizedBuilderType ethertype(RuleEthertype ethertype)
Rule.getEthertype()
public ParameterizedBuilderType portRangeMin(Integer portRangeMin)
Rule.getPortRangeMin()
public ParameterizedBuilderType portRangeMax(Integer portRangeMax)
Rule.getPortRangeMax()
public ParameterizedBuilderType protocol(RuleProtocol protocol)
Rule.getProtocol()
public ParameterizedBuilderType remoteGroupId(String remoteGroupId)
Rule.getRemoteGroupId()
public ParameterizedBuilderType remoteIpPrefix(String remoteIpPrefix)
Rule.getRemoteIpPrefix()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.