public abstract static class SecurityGroupRule.Builder<T extends SecurityGroupRule.Builder<T>> extends Ingress.Builder<T>
Modifier and Type | Field and Description |
---|---|
protected TenantIdAndName |
group |
protected String |
id |
protected String |
ipRange |
protected String |
parentGroupId |
fromPort, ipProtocol, toPort
Constructor and Description |
---|
SecurityGroupRule.Builder() |
Modifier and Type | Method and Description |
---|---|
SecurityGroupRule |
build() |
T |
fromSecurityGroupRule(SecurityGroupRule in) |
T |
group(TenantIdAndName group) |
T |
id(String id) |
T |
ipRange(String ipRange) |
T |
parentGroupId(String parentGroupId) |
fromIngress, fromPort, ipProtocol, self, toPort
protected String id
protected TenantIdAndName group
protected String parentGroupId
protected String ipRange
public T id(String id)
SecurityGroupRule.getId()
public T group(TenantIdAndName group)
SecurityGroupRule.getGroup()
public T parentGroupId(String parentGroupId)
SecurityGroupRule.getParentGroupId()
public T ipRange(String ipRange)
SecurityGroupRule.getIpRange()
public SecurityGroupRule build()
build
in class Ingress.Builder<T extends SecurityGroupRule.Builder<T>>
public T fromSecurityGroupRule(SecurityGroupRule in)
Copyright © 2009-2013 jclouds. All Rights Reserved.