| Constructor and Description |
|---|
SnapshotResources() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Message> |
create(Iterable<T> resources,
String version)
Returns a new
SnapshotResources instance. |
abstract Map<String,T> |
resources()
Returns a map of the resources in this collection, where the key is the name of the resource.
|
abstract String |
version()
Returns the version associated with this resources in this collection.
|
public static <T extends Message> SnapshotResources<T> create(Iterable<T> resources, String version)
SnapshotResources instance.T - the type of resources in this collectionresources - the resources in this collectionversion - the version associated with the resources in this collectionpublic abstract Map<String,T> resources()
public abstract String version()
Copyright © 2018 The Envoy Project. All rights reserved.