public interface SecurityGroupRuleBuilder extends Buildable.Builder<SecurityGroupRuleBuilder,SecGroupExtension.Rule>
SecGroupExtension.Rule entity| Modifier and Type | Method and Description |
|---|---|
SecurityGroupRuleBuilder |
cidr(String cidr)
Destination IP address(es) in CIDR notation
|
SecurityGroupRuleBuilder |
groupId(String groupId)
Security group id
|
SecurityGroupRuleBuilder |
parentGroupId(String parentGroupId)
Parent security group id
|
SecurityGroupRuleBuilder |
protocol(IPProtocol protocol)
IP protocol, one of TCP, UDP or ICMP
|
SecurityGroupRuleBuilder |
range(int fromPort,
int toPort)
Port range which consists of a starting and destination port
|
build, fromSecurityGroupRuleBuilder protocol(IPProtocol protocol)
protocol - the protocolSecurityGroupRuleBuilder range(int fromPort, int toPort)
fromPort - the source porttoPort - the destination portSecurityGroupRuleBuilder cidr(String cidr)
cidr - the CIDR notationSecurityGroupRuleBuilder groupId(String groupId)
groupId - the group idSecurityGroupRuleBuilder parentGroupId(String parentGroupId)
parentGroupId - the parent group idCopyright © 2017. All rights reserved.