Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Optional<String> |
affinityGroup |
protected com.google.common.base.Optional<Disk.Attachment> |
attachedTo |
protected com.google.common.base.Optional<String> |
description |
protected boolean |
hasOperatingSystem |
protected boolean |
isCorrupted |
protected com.google.common.base.Optional<String> |
label |
protected com.google.common.base.Optional<String> |
location |
protected com.google.common.base.Optional<Integer> |
logicalSizeInGB |
protected com.google.common.base.Optional<URI> |
mediaLink |
protected String |
name |
protected OSType |
os |
protected com.google.common.base.Optional<String> |
sourceImage |
Constructor and Description |
---|
Disk.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
affinityGroup(String affinityGroup) |
T |
attachedTo(Disk.Attachment attachedTo) |
Disk |
build() |
T |
description(String description) |
T |
fromHostedService(Disk in) |
T |
hasOperatingSystem(boolean hasOperatingSystem) |
T |
isCorrupted(boolean isCorrupted) |
T |
label(String label) |
T |
location(String location) |
T |
logicalSizeInGB(Integer logicalSizeInGB) |
T |
mediaLink(URI mediaLink) |
T |
name(String name) |
T |
os(OSType os) |
protected abstract T |
self() |
T |
sourceImage(String sourceImage) |
protected com.google.common.base.Optional<Disk.Attachment> attachedTo
protected OSType os
protected String name
protected com.google.common.base.Optional<Integer> logicalSizeInGB
protected com.google.common.base.Optional<String> description
protected com.google.common.base.Optional<String> location
protected com.google.common.base.Optional<String> affinityGroup
protected com.google.common.base.Optional<URI> mediaLink
protected com.google.common.base.Optional<String> sourceImage
protected com.google.common.base.Optional<String> label
protected boolean hasOperatingSystem
protected boolean isCorrupted
protected abstract T self()
public T attachedTo(Disk.Attachment attachedTo)
Disk.getAttachedTo()
public T os(OSType os)
Disk.getOS()
public T name(String name)
Disk.getName()
public T description(String description)
Disk.getDescription()
public T logicalSizeInGB(Integer logicalSizeInGB)
Disk.getLogicalSizeInGB()
public T location(String location)
Disk.getLocation()
public T affinityGroup(String affinityGroup)
Disk.getAffinityGroup()
public T mediaLink(URI mediaLink)
Disk.getMediaLink()
public T sourceImage(String sourceImage)
Disk.getSourceImage()
public T label(String label)
Disk.getLabel()
public T hasOperatingSystem(boolean hasOperatingSystem)
Disk.hasOperatingSystem()
public T isCorrupted(boolean isCorrupted)
Disk.isCorrupted()
public Disk build()
Copyright © 2009-2013 jclouds. All Rights Reserved.