public static class IpPermission.Builder extends Object
Constructor and Description |
---|
IpPermission.Builder() |
Modifier and Type | Method and Description |
---|---|
IpPermission |
build() |
IpPermission.Builder |
cidrBlock(String cidrBlock) |
IpPermission.Builder |
cidrBlocks(Iterable<String> cidrBlocks) |
IpPermission.Builder |
fromPort(int fromPort) |
IpPermission.Builder |
groupId(String groupId) |
IpPermission.Builder |
groupIds(Iterable<String> groupIds) |
IpPermission.Builder |
ipProtocol(IpProtocol ipProtocol) |
IpPermission.Builder |
tenantIdGroupNamePair(String tenantId,
String groupName) |
IpPermission.Builder |
tenantIdGroupNamePairs(com.google.common.collect.Multimap<String,String> tenantIdGroupNamePairs) |
IpPermission.Builder |
toPort(int toPort) |
public IpPermission.Builder ipProtocol(IpProtocol ipProtocol)
IpPermission.getIpProtocol()
public IpPermission.Builder fromPort(int fromPort)
IpPermission.getFromPort()
public IpPermission.Builder toPort(int toPort)
IpPermission.getToPort()
public IpPermission.Builder tenantIdGroupNamePair(String tenantId, String groupName)
public IpPermission.Builder tenantIdGroupNamePairs(com.google.common.collect.Multimap<String,String> tenantIdGroupNamePairs)
public IpPermission.Builder cidrBlock(String cidrBlock)
IpPermission.getCidrBlocks()
public IpPermission.Builder cidrBlocks(Iterable<String> cidrBlocks)
IpPermission.getCidrBlocks()
public IpPermission.Builder groupId(String groupId)
IpPermission.getGroupIds()
public IpPermission.Builder groupIds(Iterable<String> groupIds)
IpPermission.getGroupIds()
public IpPermission build()
Copyright © 2009-2013 jclouds. All Rights Reserved.