Modifier and Type | Field and Description |
---|---|
protected Date |
created |
protected String |
description |
protected SnapshotExtendedAttributes |
extendedAttributes |
protected String |
id |
protected String |
name |
protected int |
size |
protected Volume.Status |
status |
protected String |
volumeId |
Constructor and Description |
---|
Snapshot.Builder() |
Modifier and Type | Method and Description |
---|---|
Snapshot |
build() |
Snapshot.Builder |
created(Date created) |
Snapshot.Builder |
description(String description) |
Snapshot.Builder |
extendedAttributes(SnapshotExtendedAttributes extendedAttributes) |
Snapshot.Builder |
fromSnapshot(Snapshot in) |
Snapshot.Builder |
id(String id) |
Snapshot.Builder |
name(String name) |
protected Snapshot.Builder |
self() |
Snapshot.Builder |
size(int size) |
Snapshot.Builder |
status(Volume.Status status) |
Snapshot.Builder |
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 SnapshotExtendedAttributes extendedAttributes
public Snapshot.Builder id(String id)
Snapshot.getId()
public Snapshot.Builder volumeId(String volumeId)
Snapshot.getVolumeId()
public Snapshot.Builder status(Volume.Status status)
Snapshot.getStatus()
public Snapshot.Builder size(int size)
Snapshot.getSize()
public Snapshot.Builder created(Date created)
Snapshot.getCreated()
public Snapshot.Builder name(String name)
Snapshot.getName()
public Snapshot.Builder description(String description)
Snapshot.getDescription()
public Snapshot.Builder extendedAttributes(SnapshotExtendedAttributes extendedAttributes)
Snapshot.getExtendedAttributes()
public Snapshot build()
public Snapshot.Builder fromSnapshot(Snapshot in)
protected Snapshot.Builder self()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.