public abstract static class VolumeAttachment.Builder<T extends VolumeAttachment.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
device |
protected String |
id |
protected String |
serverId |
protected String |
volumeId |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VolumeAttachment |
build() |
T |
device(String device) |
T |
fromVolumeAttachment(VolumeAttachment in) |
T |
id(String id) |
protected abstract T |
self() |
T |
serverId(String serverId) |
T |
volumeId(String volumeId) |
protected String id
protected String volumeId
protected String serverId
protected String device
protected abstract T self()
public T id(String id)
VolumeAttachment.getId()
public T volumeId(String volumeId)
VolumeAttachment.getVolumeId()
public T serverId(String serverId)
VolumeAttachment.getServerId()
public T device(String device)
VolumeAttachment.getDevice()
public VolumeAttachment build()
public T fromVolumeAttachment(VolumeAttachment in)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.