public abstract static class SecurityGroup.Builder<T extends SecurityGroup.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
account |
protected String |
description |
protected String |
domain |
protected String |
domainId |
protected String |
id |
protected Set<IngressRule> |
ingressRules |
protected String |
jobId |
protected Integer |
jobStatus |
protected String |
name |
Constructor and Description |
---|
SecurityGroup.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
account(String account) |
SecurityGroup |
build() |
T |
description(String description) |
T |
domain(String domain) |
T |
domainId(String domainId) |
T |
fromSecurityGroup(SecurityGroup in) |
T |
id(String id) |
T |
ingressRules(Set<IngressRule> ingressRules) |
T |
jobId(String jobId) |
T |
jobStatus(Integer jobStatus) |
T |
name(String name) |
protected abstract T |
self() |
protected String id
protected String account
protected String name
protected String description
protected String domain
protected String domainId
protected String jobId
protected Integer jobStatus
protected Set<IngressRule> ingressRules
protected abstract T self()
public T id(String id)
SecurityGroup.getId()
public T account(String account)
SecurityGroup.getAccount()
public T name(String name)
SecurityGroup.getName()
public T description(String description)
SecurityGroup.getDescription()
public T domain(String domain)
SecurityGroup.getDomain()
public T domainId(String domainId)
SecurityGroup.getDomainId()
public T jobId(String jobId)
SecurityGroup.getJobId()
public T jobStatus(Integer jobStatus)
SecurityGroup.getJobStatus()
public T ingressRules(Set<IngressRule> ingressRules)
SecurityGroup.getIngressRules()
public SecurityGroup build()
public T fromSecurityGroup(SecurityGroup in)
Copyright © 2009-2013 jclouds. All Rights Reserved.