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 Stringaccountprotected Stringdescriptionprotected Stringdomainprotected StringdomainIdprotected Stringidprotected Set<IngressRule>ingressRulesprotected StringjobIdprotected IntegerjobStatusprotected Stringnameprotected Set<Tag>tags
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Taccount(String account)SecurityGroupbuild()Tdescription(String description)Tdomain(String domain)TdomainId(String domainId)TfromSecurityGroup(SecurityGroup in)Tid(String id)TingressRules(Set<IngressRule> ingressRules)TjobId(String jobId)TjobStatus(Integer jobStatus)Tname(String name)protected abstract Tself()Ttags(Set<Tag> tags)Ttags(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)
-
-