public abstract static class SecurityGroup.Builder<T extends SecurityGroup.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
description |
protected String |
id |
protected String |
name |
protected Set<SecurityGroupRule> |
rules |
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(String id) |
T |
name(String name) |
T |
rules(SecurityGroupRule... in) |
T |
rules(Set<SecurityGroupRule> rules) |
protected abstract T |
self() |
T |
tenantId(String tenantId) |
protected String id
protected String tenantId
protected String name
protected String description
protected Set<SecurityGroupRule> rules
protected abstract T self()
public T id(String id)
SecurityGroup.getId()
public T tenantId(String tenantId)
SecurityGroup.getTenantId()
public T name(String name)
SecurityGroup.getName()
public T description(String description)
SecurityGroup.getDescription()
public T rules(Set<SecurityGroupRule> rules)
SecurityGroup.getRules()
public T rules(SecurityGroupRule... in)
public SecurityGroup build()
public T fromSecurityGroup(SecurityGroup in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.