Package org.jclouds.cloudstack.domain
Class SecurityGroup.Builder<T extends SecurityGroup.Builder<T>>
- java.lang.Object
-
- org.jclouds.cloudstack.domain.SecurityGroup.Builder<T>
-
- Enclosing class:
- SecurityGroup
public abstract static class SecurityGroup.Builder<T extends SecurityGroup.Builder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field 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
protected Set<Tag>
tags
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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()
T
tags(Set<Tag> tags)
T
tags(Tag... in)
-
-
-
Field Detail
-
id
protected String id
-
account
protected String account
-
name
protected String name
-
description
protected String description
-
domain
protected String domain
-
domainId
protected String domainId
-
jobId
protected String jobId
-
jobStatus
protected Integer jobStatus
-
ingressRules
protected Set<IngressRule> ingressRules
-
-
Method Detail
-
self
protected abstract T self()
-
id
public T id(String id)
- See Also:
SecurityGroup.getId()
-
account
public T account(String account)
- See Also:
SecurityGroup.getAccount()
-
name
public T name(String name)
- See Also:
SecurityGroup.getName()
-
description
public T description(String description)
- See Also:
SecurityGroup.getDescription()
-
domain
public T domain(String domain)
- See Also:
SecurityGroup.getDomain()
-
domainId
public T domainId(String domainId)
- See Also:
SecurityGroup.getDomainId()
-
jobId
public T jobId(String jobId)
- See Also:
SecurityGroup.getJobId()
-
jobStatus
public T jobStatus(Integer jobStatus)
- See Also:
SecurityGroup.getJobStatus()
-
ingressRules
public T ingressRules(Set<IngressRule> ingressRules)
- See Also:
SecurityGroup.getIngressRules()
-
tags
public T tags(Set<Tag> tags)
- See Also:
SecurityGroup.getTags()
-
build
public SecurityGroup build()
-
fromSecurityGroup
public T fromSecurityGroup(SecurityGroup in)
-
-