public class SecurityGroupDefinition
extends java.lang.Object
Constructor and Description |
---|
SecurityGroupDefinition() |
Modifier and Type | Method and Description |
---|---|
SecurityGroupDefinition |
allowing(org.jclouds.net.domain.IpPermission permission) |
SecurityGroupDefinition |
allowingInternalPing() |
SecurityGroupDefinition |
allowingInternalPort(int port)
allows access to the given port on TCP from within the subnet
|
SecurityGroupDefinition |
allowingInternalPortRange(int portRangeStart,
int portRangeEnd) |
SecurityGroupDefinition |
allowingInternalPorts(int port1,
int port2,
int... ports) |
SecurityGroupDefinition |
allowingPublicPing() |
SecurityGroupDefinition |
allowingPublicPort(int port) |
SecurityGroupDefinition |
allowingPublicPortRange(int portRangeStart,
int portRangeEnd) |
SecurityGroupDefinition |
allowingPublicPorts(int port1,
int port2,
int... ports) |
void |
createGroupInAwsRegion(org.jclouds.compute.ComputeServiceContext computeServiceContext,
java.lang.String region) |
java.lang.String |
getName() |
java.lang.Iterable<org.jclouds.net.domain.IpPermission> |
getPermissions() |
SecurityGroupDefinition |
named(java.lang.String name) |
public void createGroupInAwsRegion(org.jclouds.compute.ComputeServiceContext computeServiceContext, java.lang.String region)
public SecurityGroupDefinition allowingInternalPort(int port)
public SecurityGroupDefinition allowingInternalPorts(int port1, int port2, int... ports)
public SecurityGroupDefinition allowingInternalPortRange(int portRangeStart, int portRangeEnd)
public SecurityGroupDefinition allowingInternalPing()
public SecurityGroupDefinition allowingPublicPort(int port)
public SecurityGroupDefinition allowingPublicPorts(int port1, int port2, int... ports)
public SecurityGroupDefinition allowingPublicPortRange(int portRangeStart, int portRangeEnd)
public SecurityGroupDefinition allowingPublicPing()
public SecurityGroupDefinition allowing(org.jclouds.net.domain.IpPermission permission)
public SecurityGroupDefinition named(java.lang.String name)
public java.lang.String getName()
public java.lang.Iterable<org.jclouds.net.domain.IpPermission> getPermissions()