Modifier and Type | Field and Description |
---|---|
protected Set<VolumeAttachment> |
attachments |
protected Date |
created |
protected String |
description |
protected String |
id |
protected Map<String,String> |
metadata |
protected String |
name |
protected int |
size |
protected String |
snapshotId |
protected Volume.Status |
status |
protected String |
tenantId |
protected String |
volumeType |
protected String |
zone |
Constructor and Description |
---|
Volume.Builder() |
Modifier and Type | Method and Description |
---|---|
Volume.Builder |
attachments(Set<VolumeAttachment> attachments) |
Volume.Builder |
attachments(VolumeAttachment... in) |
Volume |
build() |
Volume.Builder |
created(Date created) |
Volume.Builder |
description(String description) |
Volume.Builder |
fromVolume(Volume in) |
Volume.Builder |
id(String id) |
Volume.Builder |
metadata(Map<String,String> metadata) |
Volume.Builder |
name(String name) |
protected Volume.Builder |
self() |
Volume.Builder |
size(int size) |
Volume.Builder |
snapshotId(String snapshotId) |
Volume.Builder |
status(Volume.Status status) |
Volume.Builder |
tenantId(String tenantId) |
Volume.Builder |
volumeType(String volumeType) |
Volume.Builder |
zone(String zone) |
protected String id
protected Volume.Status status
protected int size
protected String zone
protected Date created
protected Set<VolumeAttachment> attachments
protected String volumeType
protected String snapshotId
protected String name
protected String description
protected String tenantId
public Volume.Builder id(String id)
Volume.getId()
public Volume.Builder status(Volume.Status status)
Volume.getStatus()
public Volume.Builder size(int size)
Volume.getSize()
public Volume.Builder zone(String zone)
Volume.getZone()
public Volume.Builder created(Date created)
Volume.getCreated()
public Volume.Builder attachments(Set<VolumeAttachment> attachments)
Volume.getAttachments()
public Volume.Builder attachments(VolumeAttachment... in)
public Volume.Builder volumeType(String volumeType)
Volume.getVolumeType()
public Volume.Builder snapshotId(String snapshotId)
Volume.getSnapshotId()
public Volume.Builder name(String name)
Volume.getName()
public Volume.Builder description(String description)
Volume.getDescription()
public Volume.Builder metadata(Map<String,String> metadata)
Volume.getMetadata()
public Volume.Builder tenantId(String tenantId)
Volume.getTenantId()
public Volume build()
public Volume.Builder fromVolume(Volume in)
protected Volume.Builder self()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.