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