Package org.jclouds.cloudstack.domain
Class DiskOffering.Builder<T extends DiskOffering.Builder<T>>
- java.lang.Object
-
- org.jclouds.cloudstack.domain.DiskOffering.Builder<T>
-
- Enclosing class:
- DiskOffering
public abstract static class DiskOffering.Builder<T extends DiskOffering.Builder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Date
created
protected boolean
customized
protected int
diskSize
protected String
displayText
protected String
domain
protected String
domainId
protected String
id
protected String
name
protected com.google.common.collect.ImmutableSet.Builder<String>
tags
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description DiskOffering
build()
T
created(Date created)
T
customized(boolean customized)
T
diskSize(int diskSize)
T
displayText(String displayText)
T
domain(String domain)
T
domainId(String domainId)
T
fromDiskOffering(DiskOffering in)
T
id(String id)
T
name(String name)
protected abstract T
self()
T
tag(String tag)
T
tags(Iterable<String> tags)
-
-
-
Field Detail
-
id
protected String id
-
name
protected String name
-
displayText
protected String displayText
-
created
protected Date created
-
domain
protected String domain
-
domainId
protected String domainId
-
diskSize
protected int diskSize
-
customized
protected boolean customized
-
tags
protected com.google.common.collect.ImmutableSet.Builder<String> tags
-
-
Method Detail
-
self
protected abstract T self()
-
id
public T id(String id)
- See Also:
DiskOffering.getId()
-
name
public T name(String name)
- See Also:
DiskOffering.getName()
-
displayText
public T displayText(String displayText)
- See Also:
DiskOffering.getDisplayText()
-
created
public T created(Date created)
- See Also:
DiskOffering.getCreated()
-
domain
public T domain(String domain)
- See Also:
DiskOffering.getDomain()
-
domainId
public T domainId(String domainId)
- See Also:
DiskOffering.getDomainId()
-
diskSize
public T diskSize(int diskSize)
- See Also:
DiskOffering.getDiskSize()
-
customized
public T customized(boolean customized)
- See Also:
DiskOffering.isCustomized()
-
tags
public T tags(Iterable<String> tags)
- See Also:
DiskOffering.getTags()
-
tag
public T tag(String tag)
- See Also:
DiskOffering.getTags()
-
build
public DiskOffering build()
-
fromDiskOffering
public T fromDiskOffering(DiskOffering in)
-
-