public abstract static class VolumeSnapshot.Builder<T extends VolumeSnapshot.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected Date |
created |
protected String |
description |
protected String |
id |
protected String |
name |
protected int |
size |
protected Volume.Status |
status |
protected String |
volumeId |
Constructor and Description |
---|
VolumeSnapshot.Builder() |
Modifier and Type | Method and Description |
---|---|
VolumeSnapshot |
build() |
T |
created(Date created) |
T |
description(String description) |
T |
fromVolumeSnapshot(VolumeSnapshot in) |
T |
id(String id) |
T |
name(String name) |
protected abstract T |
self() |
T |
size(int size) |
T |
status(Volume.Status status) |
T |
volumeId(String volumeId) |
protected String id
protected String volumeId
protected Volume.Status status
protected int size
protected Date created
protected String name
protected String description
protected abstract T self()
public T id(String id)
VolumeSnapshot.getId()
public T volumeId(String volumeId)
VolumeSnapshot.getVolumeId()
public T status(Volume.Status status)
VolumeSnapshot.getStatus()
public T size(int size)
VolumeSnapshot.getSize()
public T created(Date created)
VolumeSnapshot.getCreated()
public T name(String name)
VolumeSnapshot.getName()
public T description(String description)
VolumeSnapshot.getDescription()
public VolumeSnapshot build()
public T fromVolumeSnapshot(VolumeSnapshot in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.