public abstract static class DiskOffering.Builder<T extends DiskOffering.Builder<T>> extends Object
Modifier and Type | Field and 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 and Description |
---|
DiskOffering.Builder() |
Modifier and Type | Method and 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) |
protected String id
protected String name
protected String displayText
protected Date created
protected String domain
protected String domainId
protected int diskSize
protected boolean customized
protected com.google.common.collect.ImmutableSet.Builder<String> tags
protected abstract T self()
public T id(String id)
DiskOffering.getId()
public T name(String name)
DiskOffering.getName()
public T displayText(String displayText)
DiskOffering.getDisplayText()
public T created(Date created)
DiskOffering.getCreated()
public T domain(String domain)
DiskOffering.getDomain()
public T domainId(String domainId)
DiskOffering.getDomainId()
public T diskSize(int diskSize)
DiskOffering.getDiskSize()
public T customized(boolean customized)
DiskOffering.isCustomized()
public T tags(Iterable<String> tags)
DiskOffering.getTags()
public T tag(String tag)
DiskOffering.getTags()
public DiskOffering build()
public T fromDiskOffering(DiskOffering in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.