Class SecurityGroup.Builder<T extends SecurityGroup.Builder<T>>
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.domain.SecurityGroup.Builder<T>
-
- Enclosing class:
- SecurityGroup
public abstract static class SecurityGroup.Builder<T extends SecurityGroup.Builder<T>> extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description SecurityGroup
build()
T
description(String description)
T
fromSecurityGroup(SecurityGroup in)
T
id(String id)
T
name(String name)
T
rules(Set<SecurityGroupRule> rules)
T
rules(SecurityGroupRule... in)
protected abstract T
self()
T
tenantId(String tenantId)
-
-
-
Method Detail
-
self
protected abstract T self()
-
id
public T id(String id)
- See Also:
SecurityGroup.getId()
-
tenantId
public T tenantId(String tenantId)
- See Also:
SecurityGroup.getTenantId()
-
name
public T name(String name)
- See Also:
SecurityGroup.getName()
-
description
public T description(String description)
- See Also:
SecurityGroup.getDescription()
-
rules
public T rules(Set<SecurityGroupRule> rules)
- See Also:
SecurityGroup.getRules()
-
rules
public T rules(SecurityGroupRule... in)
-
build
public SecurityGroup build()
-
fromSecurityGroup
public T fromSecurityGroup(SecurityGroup in)
-
-