public abstract static class SecurityGroup.Builder<T extends SecurityGroup.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
description |
protected int |
id |
protected String |
name |
protected String |
tenantId |
Constructor and Description |
---|
SecurityGroup.Builder() |
Modifier and Type | Method and Description |
---|---|
SecurityGroup |
build() |
T |
description(String description) |
T |
fromSecurityGroup(SecurityGroup in) |
T |
id(int id) |
T |
name(String name) |
protected abstract T |
self() |
T |
tenantId(String tenantId) |
protected int id
protected String name
protected String description
protected String tenantId
protected abstract T self()
public T id(int id)
SecurityGroup.getId()
public T name(String name)
SecurityGroup.getName()
public T description(String description)
SecurityGroup.getDescription()
public T tenantId(String tenantId)
SecurityGroup.getTenantId()
public SecurityGroup build()
public T fromSecurityGroup(SecurityGroup in)
Copyright © 2009-2013 jclouds. All Rights Reserved.