org.jclouds.rds.domain
Class SecurityGroup.Builder<T extends SecurityGroup.Builder<T>>
java.lang.Object
org.jclouds.rds.domain.SecurityGroup.Builder<T>
- Enclosing class:
- SecurityGroup
public abstract static class SecurityGroup.Builder<T extends SecurityGroup.Builder<T>>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
description
protected String description
ec2SecurityGroups
protected com.google.common.collect.ImmutableSet.Builder<EC2SecurityGroup> ec2SecurityGroups
ipRanges
protected com.google.common.collect.ImmutableSet.Builder<IPRange> ipRanges
ownerId
protected String ownerId
vpcId
protected com.google.common.base.Optional<String> vpcId
SecurityGroup.Builder
public SecurityGroup.Builder()
self
protected abstract T self()
name
public T name(String name)
- See Also:
SecurityGroup.getName()
description
public T description(String description)
- See Also:
SecurityGroup.getDescription()
ec2SecurityGroups
public T ec2SecurityGroups(Iterable<EC2SecurityGroup> ec2SecurityGroups)
- See Also:
SecurityGroup.getEC2SecurityGroups()
ec2SecurityGroup
public T ec2SecurityGroup(EC2SecurityGroup ec2SecurityGroup)
- See Also:
SecurityGroup.getEC2SecurityGroups()
ipRanges
public T ipRanges(Iterable<IPRange> ipRanges)
- See Also:
SecurityGroup.getEC2SecurityGroups()
ipRange
public T ipRange(IPRange ipRange)
- See Also:
SecurityGroup.getEC2SecurityGroups()
ownerId
public T ownerId(String ownerId)
- See Also:
SecurityGroup.getOwnerId()
vpcId
public T vpcId(String vpcId)
- See Also:
SecurityGroupGroup#getVpcId()
build
public SecurityGroup build()
fromSecurityGroup
public T fromSecurityGroup(SecurityGroup in)
Copyright © 2009-2012 jclouds. All Rights Reserved.