Class Rule.Builder<ParameterizedBuilderType>
java.lang.Object
org.jclouds.openstack.neutron.v2.domain.Rule.Builder<ParameterizedBuilderType>
- Direct Known Subclasses:
Rule.CreateBuilder
- Enclosing class:
Rule
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondirection
(RuleDirection direction) The direction in which the security group rule is applied.ethertype
(RuleEthertype ethertype) The internet protocol version for this rule.portRangeMax
(Integer portRangeMax) The maximum port number in the range that is matched by the security group rule.portRangeMin
(Integer portRangeMin) The minimum port number in the range that is matched by the security group rule.protocol
(RuleProtocol protocol) The protocol that is matched by the security group rule.remoteGroupId
(String remoteGroupId) The remote group ID to be associated with this security group rule.remoteIpPrefix
(String remoteIpPrefix) The remote IP prefix to be associated with this security group rule.securityGroupId
(String securityGroupId) The security group ID to associate with this security group rule.protected abstract ParameterizedBuilderType
self()
The tenant id for this rule.
-
Field Details
-
rule
-
-
Method Details
-
self
-
tenantId
The tenant id for this rule. Usually can only be specified by administrators.- Returns:
- the Builder.
- See Also:
-
direction
The direction in which the security group rule is applied.- Returns:
- the Builder.
- See Also:
-
securityGroupId
The security group ID to associate with this security group rule.- Returns:
- the Builder.
- See Also:
-
ethertype
The internet protocol version for this rule.- Returns:
- the Builder.
- See Also:
-
portRangeMin
The minimum port number in the range that is matched by the security group rule.- Returns:
- the Builder.
- See Also:
-
portRangeMax
The maximum port number in the range that is matched by the security group rule.- Returns:
- the Builder.
- See Also:
-
protocol
The protocol that is matched by the security group rule. Valid values are null, tcp, udp, and icmp.- Returns:
- the Builder.
- See Also:
-
remoteGroupId
The remote group ID to be associated with this security group rule. You can specify either remote_group_id or remote_ip_prefix in the request body.- Returns:
- the Builder.
- See Also:
-
remoteIpPrefix
The remote IP prefix to be associated with this security group rule. You can specify either remote_group_id or remote_ip_prefix in the request body. This attribute matches the specified IP prefix as the source IP address of the IP packet.- Returns:
- the Builder.
- See Also:
-